【文件属性】:
文件名称:Android代码-Watcher
文件大小:111KB
文件格式:ZIP
更新时间:2022-08-25 20:41:56
Android代码
Watcher
Installation
Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
compile 'com.github.xcc3641:watcher:1.0'
}
Usage
Step 1. Add the WatcherService in your AndroidManifest
Step 2. Start the Watcher
In your Application onCreate :
@Override
public void onCreate() {
super.onCreate();
【文件预览】:
Watcher-master
----.gitignore(434B)
----gradle()
--------wrapper()
----README.md(1KB)
----watcher()
--------.gitignore(7B)
--------build.gradle(1KB)
--------proguard-rules.pro(662B)
--------src()
----build.gradle(641B)
----gradlew.bat(2KB)
----gradlew(5KB)
----LICENSE(11KB)
----app()
--------.gitignore(7B)
--------build.gradle(906B)
--------proguard-rules.pro(662B)
--------src()
----gradle.properties(849B)
----config.gradle(324B)
----.travis.yml(772B)
----settings.gradle(27B)