I am having the same issue, except that I can't get the proper
resolution to appear at all (image 2 I believe). And my changes aren't
being represented on the AVD unless I uninstall the app from it and
THEN run it on the emulator. Does anyone know how to fix this?

On Nov 27, 9:29 am, feeling3_4 <[email protected]> wrote:
> Pieter, thank you for your reply.
>
> I am a little confused here. please see the two images below
>
> http://www.screencast.com/t/ZGZlZjVhO(this one iswvga854avd under
> Mac os + android skd 2.0)http://www.screencast.com/t/NTYzYmJh(this 
> iswvga854avd under
> Windows + android sdk 2.0)
>
> Why the density between the two avds are so different? and under the
> windows, the screen size is 480*854
>
> On Nov 27, 8:06 pm, Pieter <[email protected]> wrote:
>
>
>
> > You app probably runs in "compatibility mode", presenting a lower
> > "virtual" resolution and then scaling all graphics up to the actual
> > device resolution. For more information, see the "supports-screens"
> > manifest element:http://developer.android.com/sdk/android-1.6.html
> > and:http://developer.android.com/guide/topics/manifest/supports-screens-e...
>
> > The abundance of Android phones is something we (as Android
> > developers) have to live with. I think of it as a mixed blessing:
> > because of the many Android phones the target audience is much bigger
> > than would be the case with a single phone. Because of this the
> > Android platform has a fighting chance to become one of the dominant
> > mobile platforms. Only then Android can become a viable platform for
> > profitable software development.
>
> > On Nov 27, 7:21 am, feeling3_4 <[email protected]> wrote:
>
> > > Hi, all
>
> > >   I have a problem with thewvga854avd screen size.  When my
> > > application running on this avd, it does not use the layout-hdpi-v6,
> > > but uses the layout-mdpi-v6.
>
> > >   To make it clearer, I add the below code. it prints that the screen
> > > size of thewvga854avd is 320x569 ! Why?
>
> > >                 Display display = ((WindowManager) getSystemService
> > > (Context.WINDOW_SERVICE)).getDefaultDisplay();
> > >                 int device_width = display.getWidth();
> > >                 int device_height = display.getHeight();
> > >                 Log.i("screen", "device width is " + device_width);
> > >                 Log.i("screen", "device height is " + device_height);
>
> > > My develop environment is Mac ox + android 2.0 sdk.
>
> > > I begin to suffer more and more pain of these problems... does it have
> > > to have so many different kinds of android phones on the world?

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

Reply via email to