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 -~----------~----~----~----~------~----~------~--~---

