Have you tried the android:targetSdkVersion attribute on the uses-sdk tag in AndroidManifest.xml?
I was able to get the default display returned by the window service to switch from reporting 480x533 to 480x800 in a quick test just now by changing from this: <uses-sdk android:minSdkVersion="3" /> To this: <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4" /> Both on the WVGA800 skin. No targetSdkVersion attribute and just setting minSdkVersion to 4 also gave 480x800. No uses-sdk tag at all gave 480x533. Not sure if you meant these attributes or the build target when you wrote that the API version is set. On Oct 21, 6:34 am, Latha Shivanna <[email protected]> wrote: > Yes .. API version is set to 4 in my app. Even all the samples under > SDK 1.6 are all 4. Still there is problem. > > Has anybody seen seen the APIDemos in SDK1.6 in a large screen by any chance? > > Please do share your knowledge. > > -Latha > > On Wed, Oct 21, 2009 at 3:08 PM, RichardC > > <[email protected]> wrote: > > > Have you set your API version to 4 (SDK 1.6)? > > > If I remember correctly - if your API is set to version 3 (or lower) > > the platform will run your application in emulation mode and scale it > > to the actual screen size. So you will never see the large screen. > > > -- > > RichardC > > > On Oct 21, 10:22 am, Latha Shivanna <[email protected]> wrote: > >> Hii All, > > >> I am facing a small problem in my android app regarding its display > >> resolution. Getwidth()/height() in my app is always giving me a screen > >> size of (320x480) though the actual screensize of the target is > >> (480x640). > > >> I checked APIdemos/lunarlander n other sample examples from the > >> Android SDK on this device with 480x640. But they too are taking only > >> the size ~320x480. > > >> Why is it? What API i should use to make my app occupy the entire > >> screen? Any input from you is highly appreciated. > > >> thanks, > >> Latha. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

