Reputation: 8101
I have developed an Android application that has certain features available from API level 5 (Android SDK 2.0) onward. Application is fully functional without those features and they can easily be disabled.
Is it possible two publish two different versions of the application on the Market: one having target sdk 2.0 and greater and one having target sdk below 2.0?
Upvotes: 0
Views: 376
Reputation: 60721
EDIT: Yes, you can. This is new.
Alternatively, you can easily detect at runtime which version of Android you're running on, and enable/disable the extra features as appropriate.
Check the value of android.os.Build.VERSION.SDK_INT
, for example.
Upvotes: 1