public static boolean isLaunchable(@Nullable final String packageName) {
        return getLaunchIntent(packageName) != null;
    }
Preferred method to detect the availability of an external app
main/src/main/java/cgeo/geocaching/utils/ProcessUtils.java