Android通过PackageManager获取:app程序名、包名、入口类名
// 获取PackageManager对象PackageManager pm = this.getPackageManager();// 通过queryIntentActivities获取ResolveInfo对象List resolveInfos = pm.queryIntentActivities(intent,PackageManager.MATCH_DEFAULT_ONLY);
原创
2017-05-09 10:02:53 ·
1365 阅读 ·
0 评论