public boolean isGooglePlayServicesAvailable(Activity activity) {
    return GoogleApiAvailability.getInstance()
        .getApkVersion(activity.getApplicationContext()) >= 9200000;
  }
Verifies that Google Play services is installed and enabled on this device, and that the
version installed on this device is no older than the one required by this client.
java/com/google/android/apps/authenticator/barcode/BarcodeConditionChecker.java