public static boolean isEvernoteInstalled(Context context) {
        PackageManager packageManager = context.getPackageManager();
        try {
            packageManager.getPackageInfo(PACKAGE_NAME, PackageManager.GET_ACTIVITIES);
            return true;

        } catch (PackageManager.NameNotFoundException e) {
            return false;
        }
    }
public static boolean isEvernoteInstalled ( Context context ) { PackageManager packageManager = context . getPackageManager ( ) ; try { packageManager . getPackageInfo ( PACKAGE_NAME , PackageManager . GET_ACTIVITIES ) ; return true ; } catch ( PackageManager . NameNotFoundException e ) { return false ; } }
@return {@code true} if Evernote is installed and can be launched.