├── .gitignore ├── .idea ├── codeStyleSettings.xml ├── compiler.xml ├── encodings.xml ├── gradle.xml ├── gradle_extensions.xml ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── misc.xml ├── modules.xml └── runConfigurations.xml ├── LICENSE ├── README.md ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── hellodaemon ├── .gitignore ├── bintrayv1.gradle ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── xdandroid │ │ └── hellodaemon │ │ ├── AbsWorkService.java │ │ ├── DaemonEnv.java │ │ ├── IntentWrapper.java │ │ ├── JobSchedulerService.java │ │ ├── WakeUpReceiver.java │ │ └── WatchDogService.java │ └── res │ └── values │ └── strings.xml ├── sample ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── xdandroid │ │ └── sample │ │ ├── App.java │ │ ├── MainActivity.java │ │ └── TraceServiceImpl.java │ └── res │ ├── layout │ └── activity_main.xml │ ├── mipmap-xxxhdpi │ └── ic_launcher.png │ └── values │ └── strings.xml └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/codeStyleSettings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/codeStyleSettings.xml -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/encodings.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/gradle_extensions.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/gradle_extensions.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/README.md -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Dfile.encoding=UTF-8 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/gradlew.bat -------------------------------------------------------------------------------- /hellodaemon/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /hellodaemon/bintrayv1.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/bintrayv1.gradle -------------------------------------------------------------------------------- /hellodaemon/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/build.gradle -------------------------------------------------------------------------------- /hellodaemon/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/proguard-rules.pro -------------------------------------------------------------------------------- /hellodaemon/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /hellodaemon/src/main/java/com/xdandroid/hellodaemon/AbsWorkService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/src/main/java/com/xdandroid/hellodaemon/AbsWorkService.java -------------------------------------------------------------------------------- /hellodaemon/src/main/java/com/xdandroid/hellodaemon/DaemonEnv.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/src/main/java/com/xdandroid/hellodaemon/DaemonEnv.java -------------------------------------------------------------------------------- /hellodaemon/src/main/java/com/xdandroid/hellodaemon/IntentWrapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/src/main/java/com/xdandroid/hellodaemon/IntentWrapper.java -------------------------------------------------------------------------------- /hellodaemon/src/main/java/com/xdandroid/hellodaemon/JobSchedulerService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/src/main/java/com/xdandroid/hellodaemon/JobSchedulerService.java -------------------------------------------------------------------------------- /hellodaemon/src/main/java/com/xdandroid/hellodaemon/WakeUpReceiver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/src/main/java/com/xdandroid/hellodaemon/WakeUpReceiver.java -------------------------------------------------------------------------------- /hellodaemon/src/main/java/com/xdandroid/hellodaemon/WatchDogService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/src/main/java/com/xdandroid/hellodaemon/WatchDogService.java -------------------------------------------------------------------------------- /hellodaemon/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/hellodaemon/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /sample/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /sample/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/sample/build.gradle -------------------------------------------------------------------------------- /sample/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/sample/proguard-rules.pro -------------------------------------------------------------------------------- /sample/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/sample/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /sample/src/main/java/com/xdandroid/sample/App.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/sample/src/main/java/com/xdandroid/sample/App.java -------------------------------------------------------------------------------- /sample/src/main/java/com/xdandroid/sample/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/sample/src/main/java/com/xdandroid/sample/MainActivity.java -------------------------------------------------------------------------------- /sample/src/main/java/com/xdandroid/sample/TraceServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/sample/src/main/java/com/xdandroid/sample/TraceServiceImpl.java -------------------------------------------------------------------------------- /sample/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/sample/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/sample/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xingda920813/HelloDaemon/HEAD/sample/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':hellodaemon', ':sample' 2 | --------------------------------------------------------------------------------