android 获取手机已安装APP的名称和包名
废话不多说 直接上代码,不好用你砍我public void getAppProcessName(Context context) { //当前应用pid final PackageManager packageManager = context.getPackageManager(); final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); mainIntent.addCategory(Inte