Cannot determine whether Google play store is installed or not on Android device

后端 未结 5 1193
自闭症患者
自闭症患者 2020-12-08 21:27

This was a simple matter of checking the installed packages on the device... before I\'ve upgraded my OS to 2.3.5, I could locate the Market/Play store, using this code:

5条回答
  •  离开以前
    2020-12-08 22:09

    GooglePlayServices has a utility class to handle this and also provide appropriated error dialogs to show according to the status of play services in the device.

    API Reference: http://developer.android.com/reference/com/google/android/gms/common/GooglePlayServicesUtil.html

提交回复
热议问题