I am developing an application and using Mobile Vision Api for text recognizing.I noticed that its not working in some devices.After searched I understand that one reason is because of google play service version that is installed on device.So how can I check the google play service version that is installed on user device? And what is the minimum google play service version that this api could work?
Asked
Active
Viewed 2,720 times
0
-
Did my answer provide what you're looking for in this question? – ReyAnthonyRenacia Apr 05 '17 at 09:14
-
OP asked for a way to check the PlayServices version on a user's device.Your answer should leave out the manual check. Also, the "minimum Android version" is not what he's looking for. It's the "minimum PlayServices version" – wsgeorge Oct 24 '17 at 10:12
2 Answers
0
You can use this for checking version
GoogleApiAvailability.GOOGLE_PLAY_SERVICES_VERSION_CODE
I think, first you should check, if service is available ?
public int isGooglePlayServicesAvailable (Context context)

mpals
- 251
- 1
- 6
0
How to know GPS version of your phone?
If manually, go to Settings > Applications > Google Play Services.
If programatically, follow the answer in this SO thread:
int v = getPackageManager().getPackageInfo("com.google.android.gms", 0 ).versionCode;
What is the minimum google play service version for this API?
Minimum Android version required is Android 2.3 (Gingerbread).

Community
- 1
- 1

ReyAnthonyRenacia
- 17,219
- 5
- 37
- 56