PackageManager獲取APK中的PackageInfo信息

PackageManager pm = cxt.getPackageManager();
PackageInfo pkgInfo = pm.getPackageArchiveInfo(apkPath, 
PackageManager.GET_ACTIVITIES | PackageManager.GET_SERVICES 
| PackageManager.GET_META_DATA| PackageManager.GET_CONFIGURATIONS);
相關文章
相關標籤/搜索