I have to check if google services are active on the device. How can I check it? Looking just play services is enough?
I need this check for Huawei services.
final int status = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this); if (status != ConnectionResult.SUCCESS) { Log.e(TAG, GooglePlayServicesUtil.getErrorString(status)); return false; } else { Log.i(TAG, GooglePlayServicesUtil.getErrorString(status)); return true; }
1.4m articles
1.4m replys
5 comments
57.0k users