Reputation: 18639
I am going through the Google Cloud Services tutorial here: http://developer.android.com/guide/google/gcm/gs.html
And they suggest that I place this line in my manifest:
And I currently have this line because I want to support as many devices as possible:
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="15"/>
What I am not sure is how I can still support as many devices as possible but when a push needs to happen to an older version phone, I am ok with it just simply not delivering the message.
So my question is what should my line read there? Also, is SDK version up to 20 now? Should I change that too? :)
Upvotes: 1
Views: 81
Reputation: 2768
It requires version 8 (Android 2.2) or any newer versions. Most of the android devides use 2.3 and higher so 2.2 is a good choice.
android:minSdkVersion="8"
Upvotes: 4