简单的锁屏源码

时间:2018-02-15 10:39:22
【文件属性】:

文件名称:简单的锁屏源码

文件大小:95KB

文件格式:RAR

更新时间:2018-02-15 10:39:22

锁屏

public String getLauncherPackageName Context context { Intent intent new Intent Intent ACTION MAIN ; intent addCategory Intent CATEGORY HOME ; List<ResolveInfo> res context getPackageManager queryIntentActivities intent PackageManager GET ACTIVITIES ; if res null { for int i 0; i < res size ; i++ { ResolveInfo r res get i ; if r activityInfo applicationInfo flags & ApplicationInfo FLAG SYSTEM > 0 { Log e TAG "系统Home packageName:" + r activityInfo packageName ; Log e TAG "系统Home Name:" + r activityInfo name ; mPackageName r activityInfo packageName; mName r activityInfo name; break; } } } return null; }">public String getLauncherPackageName Context context { Intent intent new Intent Intent ACTION MAIN ; intent addCategory Intent CATEGORY HOME ; List<ResolveInfo> res context getPackageManager queryIntentActivities intent PackageManager GET ACTIVITIES ; if res null { [更多]


【文件预览】:
锁屏源码
----Android_LockScreen-master()
--------AndroidManifest.xml(3KB)
--------res()
--------proguard.cfg(1KB)
--------src()
--------bin()
--------.classpath(466B)
--------project.properties(361B)
--------.settings()
--------README.md(205B)
--------.project(816B)
--------gen()

网友评论