I'm create app with SDK 1.6 and i want to, if my app running in android 3 : do sth , i using these code but the error told me HONEYCOMB
cannot be resolved or is not a field.
here is my code:
if (Build.VERSION.RELEASE == Build.VERSION_CODES.HONEYCOMB) {
// do anything...
} else {
// do anything...
}
Open the Settings app on your Android device. Open the "Applications" and/or "Application Manager" section. Tap on your app to select it. The App Settings Panel has multiple options including App Version, Notifications, and Location.
At the top right, tap the profile icon. Tap Manage apps & device. Apps with an update available are labeled "Update available."
Google Play Store compares the features your app requires to the features available on each user's device to determine whether your app is compatible with each device. If the device does not provide all the features your app requires, the user cannot install your app.
For Build.VERSION_CODES.HONEYCOMB
to be recognized at compile time, you will need to have your build target set to API Level 11 or higher. In Eclipse, this is in the Android section of your project properties; for command-line builds, this is in default.properties
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With