Java tutorial
//package com.java2s; import android.content.Context; import android.content.Intent; public class Main { public static boolean isInstallApp(Context context, String packageName) { return getIntentByPackageName(context, packageName) != null; } private static Intent getIntentByPackageName(Context context, String packageName) { return context.getPackageManager().getLaunchIntentForPackage(packageName); } }