Updating apk only for specific version-Collection of common programming errors
Set:
In your Android Manifest
Edit:
Yes, that would need to have a different build. If you want t have only one apk and have certain features to only appear in Android Api 14+.
You can check at runtime like this (requires Api 4):
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH){
If you are supporting Api below 4. Use this instead:
if(Integer.parseInt(android.os.Build.VERSION.SDK)>=14){
(Note: this is deprecated)