# D-clock/AndroidDaemonService

合理优雅的进程保活方式

Repository: https://github.com/D-clock/AndroidDaemonService
Canonical: https://ross.abutalabs.com/products/androiddaemonservice
Language: Java
License Family: other
Last push: 2016-06-12T05:03:23+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3803, "days_push": 3734, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1605, forks 357 (observed 2026-08-28T04:05:10.363735+00:00)

## What it is
An Android library demonstrating reasonable and elegant approaches to process keep-alive (keeping app processes alive) in Java. It explicitly rejects 'immortal process' hacks and documents techniques like account sync adaptation and vendor whitelist behavior.

## Use cases
- keep my android app process alive in the background
- prevent android service from being killed
- implement daemon process on android
- understand android process keep-alive strategies
- keep music or sync service running when app is backgrounded

## When to choose
- maintaining or studying a legacy Android app that needs background persistence on old Android versions
- learning how process keep-alive worked on pre-2017 Android

## When to avoid
- building a new Android app targeting modern Android versions where these techniques no longer work
- you need a maintained library with a license and active support
- you want battery-friendly background work (use WorkManager instead)

## Facets
- artifact type: library
- maturity: abandoned
- function: concurrency, developer-tools
- domain: android-tools, mobile-development
- platform: -
- tags: process-keep-alive, android-service, daemon, background-process, java, android

## Member repositories
- D-clock/AndroidDaemonService (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:10.363735+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:52:15.641677+00:00, confidence not recorded.
  - readme: https://github.com/D-clock/AndroidDaemonService (fetched 2026-08-28T04:05:10.363735+00:00, sha e78cc50545e5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
