得到所有以安装的应用

List<ApplicationInfo> mListAppInfo = getPackageManager().getInstalledApplications(0);
        for(ApplicationInfo mApp : mListAppInfo) {
        	mList.add(mApp.packageName);
        	Log.d(TAG, "ackageName"+mApp.packageName);
        }

你可能感兴趣的:(java)