Package com.cheetahdigital.uikit.helper
Class PlayServicesUtils
- java.lang.Object
-
- com.cheetahdigital.uikit.helper.PlayServicesUtils
-
public class PlayServicesUtils extends java.lang.Object
Util class for Google Play Services
-
-
Constructor Summary
Constructors Constructor Description PlayServicesUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkPlayServices(android.app.Activity activity)
Check the device to make sure it has the Google Play Services APK.
-
-
-
Method Detail
-
checkPlayServices
public static boolean checkPlayServices(android.app.Activity activity)
Check the device to make sure it has the Google Play Services APK. If it doesn't, display a dialog that allows users to download the APK from the Google Play Store or enable it in the device's system settings.- Parameters:
activity
- closed when device is does not support google play- Returns:
- true if google play is avaialbe, else false
-
-