Android Question SDK Version when compiling

gadgetmonster

Active Member
Licensed User
Longtime User
Hi,

My app was compatible with Android 2.3 but then I wanted to add Google Maps v2 Api which requires Android 3+.

So in my code, when the user clicks a button to show a map, I check the version of sdk being used and if >= 11 (Android 3) I load an activity that uses Google Maps v2. If the sdk version is before 11 then I load a different activity which shows the map in a webview.

When I test this on both a 4.1 device and a 2.3 device it works as expected.

My question is, if I submit this to Google Play, will they limit installation to devices with Android 3+ simply because it detects the use of Google Maps Api v2 or is the limitation determined by the targetSDKVersion in the manifest?

Many Thanks
 
Top