My app supports minSdkVersion=10 and targeting 16. I want to call methods specific to API level >= 14 if a specific device supports them. I could check running OS version at
In addition of checking the current version you should also add @SuppressLint("NewApi")to your method so the compiler want yell about it.
@SuppressLint("NewApi")