AlarmAndJob
Introduction: 允许自启动与电量设置跳转
Tags:
允许自启动与电量设置跳转
1.如果发现某些机型出现问题,欢迎反馈 issue
2.如果有补充已有机型的 Data,可以 pull,共同完善
- add some plugins in project build.gradle like this
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- in your app build.gradle
dependencies {
compile 'com.github.dxsdyhm:AlarmAndJob:latestVersion'
}
使用
try {
AutoStartUtils.newInstance(context).toTargetActivity();
} catch (Exception e) {
e.printStackTrace();
Toast.makeText(context,"无法自动跳转!!!!!",Toast.LENGTH_LONG).show();
}
