I currently have this manifest setting:
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="16"/>
but I am trying to implement Google cloud messaging and it is only compatible with sdkVersion = 8
I looked at the breakdown of my users and here it is for the older versions:
Android 2.1 - 86
Android 3.0 - 11
Android 1.6 - 11
other - 7
I am not sure what other means. And I am also not sure how versions 4 or 8 refer to Android 2.1
Or is this apples and oranges? I am a bit confused. The issue I am having is that I don’t want users to upgrade the app and then have it not work on them.
Can this happen? Someone please clarify what is the better thing for me to do here.
Thanks!
You can enclose your GCM code in a check for the SDK level so it’s only executed if the SDK is 8 or higher.
For example: