January 24th, 2011, 05:54 AM
Over Macho Grande?
Join Date: Nov 2009
Device(s): GlassXE, MotoX, N5, N4, N7'12, GNex, N1, SGT10.1, Revue, Xoom, Eris, OG Droid
Thanked 3,563 Times in 1,522 Posts
Should be able to use this to see what is installed and compare the package name against what you're looking for
PackageManager pm = getPackageManager();
List<ApplicationInfo> list = pm.getInstalledApplications(0);
for (int i=0; i< list.size(); i++)
ApplicationInfo appInfo = list.get(i);
String packageName = appInfo.packageName;
String appLabel = (String) pm.getApplicationLabel(appInfo);
Drawable icon = pm.getApplicationIcon(appInfo);
Last edited by alostpacket; January 24th, 2011 at 06:03 AM.