-1
所以我這樣做是爲了讓所有的應用程序:如何通過指定名稱來搜索應用程序?
final Intent mainIntent = new Intent();
final List<ResolveInfo> pkgAppsList = getApplicationContext()
.getPackageManager().queryIntentActivities(mainIntent, 0);
我如何獲得它的名字一個特定的應用程序?
希望這有助於http://stackoverflow.com/questions/7374704/getpackagemanager-getinstalledpackages-packagemanager-get-activities-return/8501188#8501188 – 2012-04-07 10:39:51