Thank you!

I'm trying to specify the screen size support, but I'm getting these
errors in the manifest:

ERROR No resource identifier found for attribute 'anyDensity' in
package 'android'

Here is my manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="com.aaaa.bbb"
      android:versionCode="1"
      android:versionName="1.0.0">

          <supports-screens
                  android:anyDensity="true" />

    <application ....>
    ....
    </application>
</manifest>

If i remove versionCode and versionName (or mofify to anything
higher), nothing changes.

What should I change? I haven't read anywhere a specific resource
qualifier for anyDensity="true".

Thank you for your time.

On Dec 20, 4:44 am, Lance Nanek <lna...@gmail.com> wrote:
> Your application is being run in compatibility mode. You can read
> about that and how to avoid it 
> here:http://developer.android.com/intl/zh-CN/guide/practices/screens_suppo...
>
> On Dec 19, 8:57 am, greg1x <gre...@yahoo.com> wrote:
>
> > Hi!
>
> > I'm developing a 2D game I started on Android 1.0/1.1. It scales
> > itself to the actual surface size, so I had nothing to change because
> > of the newer higher-resolution devices.I have a G1, but I'd like to
> > test it on a Droid too, so I've created an AVD with Android 2.0,
> > WVGA854. I did not check the "Scale display to real size" option, so I
> > expected that I'll get the real WVGA dimensions on surfaceChanged.
> > It doesn't happen like this. My application receives strange width/
> > height values on surfaceChanged.
> > Width is 569. (height is also very low)
> > Shouldn't it be around 854?
> > So, my application draws/scales itself to a smaller screen and then
> > the emulator seems to stretch the lower resolution surface to 854
> > pixels. (not even 854, in Photoshop I measured ~866 instead)
> > It means that I get an awfully-looking low resolution app on a big
> > screen.
>
> > How can I avoid this, so my application gets the real screen size on
> > surfaceChanged?
>
> > Thank you!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to