Last active
September 28, 2016 11:33
-
-
Save Ansh1234/5f4167c8fb837d7de3170f88d125bf44 to your computer and use it in GitHub Desktop.
This file contains 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
if (result != ConnectionResult.SUCCESS) { | |
//Any random request code | |
int PLAY_SERVICES_RESOLUTION_REQUEST = 1000; | |
//Google Play Services app is not available or version is not up to date. Error the | |
// error condition here | |
if (googleAPI.isUserResolvableError(result)) { | |
googleAPI.getErrorDialog(this, result, | |
PLAY_SERVICES_RESOLUTION_REQUEST).show(); | |
} | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment