Get a list of apps installed from market

view story

http://stackoverflow.com – I have the code which lists all the installed applications: final PackageManager pm = getPackageManager(); //get a list of installed apps. List<ApplicationInfo> packages = pm .getInstalledApplications(PackageManager.GET_META_DATA); for (ApplicationInfo packageInfo : packages) { Log.d("Tag", "Installed package :" + packageInfo.packageName); } How do I differentiate between system apps and apps installed from the market? I guess I figured the unconventional method of searching for "android" in the packag (HowTos)