Check availability of Google Play Services in android
This blog is about how we can check that Google Play service are available or not in Device. First of all, we can Create a method which will check Play services status with Status code. private void checkService ( int statusCode ) { switch ( statusCode) { case ConnectionResult . API_UNAVAILABLE : //API is not available in device break ; case ConnectionResult . NETWORK_ERROR : //Network error break ; case ConnectionResult . RESTRICTED_PROFILE : //Profile is restricted by google. break ; case ConnectionResult . SERVICE_MISSING : //Plat Service is missing break ; case ConnectionResult . SIGN_IN_REQUIRED : //service available but user is not signed in break ; case ConnectionResult . SUCCESS : ...