supports-screen with 1.5 target, can't make app non-scaling

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!

Asked by: Alina532 | Posted: 20-01-2022

Answer 1

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 targetSdkVersion as well as minSdkVersion your application will start to work correctly on all platforms.

So have an entry in your manifest like this:

<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/>

This is covered in the Android API Levels page in the Android Developer documentation.

Answered by: Kimberly808 | Posted: 21-02-2022

Similar questions

manifest - Android supports-screen is it resizeable or any density?

I have taken note of some recent (and not so recent) blog posts on and have been adding in things like uses-feature and supports-screen elements to my manifest. The problem is I don't really under stand the resizeable and any density tags in supports-screen. I am supplying HDPI (drawable-hdpi) images for a few items as needed, though the majority are using a default image in drawable.

Still can't find your answer? Check out these communities...

Android Google Support | Android Community | Android Community (Facebook) | Android