I’m a bit lost right now, what I’m trying to do: build a 1.5 compatible app that should also run on 2.0/2.1 devices like the Nexus. The problem is that supports-screen doesn’t work the way it’s supposed to with 1.5 target set in eclipse.
Did I miss something? Basically, I just want my app not to scale anything, I’ll handle that ( anyScale = true )
Thanks in advance!
As you’ve noted the
<support-screens>element of<manifest>was indroduced at API Level 4, which is Android 1.6, and this means it doesn’t work for an Android 1.5 application.However, you can get this to work for an application that does run on 1.5.
If you specify
targetSdkVersionas well asminSdkVersionyour application will start to work correctly on all platforms.So have an entry in your manifest like this:
This is covered in the Android API Levels page in the Android Developer documentation.