Erez A. Korn
Erez A. Korn

Reputation: 2758

Prevent app from being installed on Honeycomb

Is there a way to prevent an app from being installed on Android Honeycomb? I am looking for either a market filter or a manifest option.

Upvotes: 0

Views: 619

Answers (2)

Phil Lello
Phil Lello

Reputation: 8639

According to this discussion on google groups (android-developers list), setting maxSdkVersion="10" will block Honeycomb; however it won't stop a device upgrading to Honeycomb (or force app uninstall) once your app is installed.

Upvotes: 1

Zach Rattner
Zach Rattner

Reputation: 21363

In your Android Manifest file, set the uses-sdk tag. Android 3.0 is level 11. Also note, however, that Google explicitly states that they make their code backwards compatible so you don't have to do this. If you have a good reason to, go ahead, but be aware that Google thinks most people should never have to.

Upvotes: 1

Related Questions