Check if an Android application is installed


You can use this method or create your own method some thing like this:

public static Boolean isInstalled(Context context, String packageName) {
 final PackageManager pm = context.getPackageManager();
 // get a list of installed apps.
 List<ApplicationInfo> packages = pm

 for (ApplicationInfo packageInfo : packages) {
 if (packageInfo.packageName.equals(packageName)) {
 return true;
 return false;

Leave a Reply

Your email address will not be published. Required fields are marked *