Question: In my application, I need to check Google Play services version (which is installed in user's device). Is it possible ? And if yes, how can I do that?

Answer: 
**IMPORTANT**: GoogleApiAvailability.GOOGLE\_PLAY\_SERVICES\_VERSION\_CODE returns the minimum version required by YOUR app, not the play services version that is installed on the user's device.
```
int apkVersion = GoogleApiAvailability.getInstance().getApkVersion(getContext());

```

will get the same result as:

```
int v = getPackageManager().getPackageInfo(GoogleApiAvailability.GOOGLE_PLAY_SERVICES_PACKAGE, 0 ).versionCode;

```

But the second one needs to be put inside a try-catch.