Ok i am using this code to get the list of applications on the phone but how do i display them on screen?
final PackageManager pm = getPackageManager();
List<applicationinfo> packages = pm
.getInstalledApplications(PackageManager.GET_META_DATA);
for (ApplicationInfo packageInfo : packages) {
Log.d(TAG, "Installed package :" + packageInfo.packageName);
Log.d(TAG,
"Launch Activity :"
+ pm.getLaunchIntentForPackage(packageInfo.packageName));
}
Im trying to display them in a listview but im having a bit of trouble. Could someone please help?
This might be of some help to you.