Created
July 2, 2014 12:57
-
-
Save a-v-ebrahimi/1ee31b00f0a21c63dfc4 to your computer and use it in GitHub Desktop.
Check Google Play Services Is Available
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void checkGooglePlayServicesIsAvailable() { | |
int errorCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this); | |
if (errorCode != ConnectionResult.SUCCESS) { | |
GooglePlayServicesUtil.getErrorDialog(errorCode, this, 0).show(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment