Android 开机自启

时间:2020-03-30 05:16:47
【文件属性】:

文件名称:Android 开机自启

文件大小:1.35MB

文件格式:RAR

更新时间:2020-03-30 05:16:47

Android 自启

public class BootBroadcastReceiver extends BroadcastReceiver { static final String ACTION = "android.intent.action.BOOT_COMPLETED"; @Override public void onReceive(Context context, Intent intent) { if(intent.getAction().equals(ACTION)){ Intent sayHelloIntent = new Intent(context, MainActivity.class); sayHelloIntent.addFlags(intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(sayHelloIntent); } } }


【文件预览】:
SayHello
----bin()
--------classes.dex(542KB)
--------SayHello.apk(229KB)
--------res()
--------jarlist.cache(120B)
--------dexedLibs()
--------classes()
--------resources.ap_(40KB)
--------AndroidManifest.xml(1KB)
----res()
--------drawable-ldpi()
--------values-v11()
--------menu()
--------values-v14()
--------drawable-hdpi()
--------drawable-xhdpi()
--------drawable-xxhdpi()
--------values()
--------values-sw720dp-land()
--------drawable-mdpi()
--------values-sw600dp()
--------layout()
----proguard-project.txt(781B)
----ic_launcher-web.png(50KB)
----assets()
----gen()
--------com()
----.settings()
--------org.eclipse.jdt.core.prefs(177B)
----src()
--------com()
----.project(844B)
----.classpath(475B)
----project.properties(579B)
----AndroidManifest.xml(1KB)
----libs()
--------android-support-v4.jar(473KB)

网友评论