On Sun, Jan 4, 2009 at 1:49 PM, Raymond Rodgers <[email protected]>wrote:
> Now, as for screen resolution, I presume that there's probably a part of > the API that will tell you exactly what the resolution of the device is. I > *presume* this because OpenGL drawing often depends on a view port size, > which is often set to the full screen size. Also knowing some of the pasts > of a few of Google's engineers, I know that they've most likely already > thought of this, so I think that if your application is sensitive to the > screen size (and orientation), chances are you can get this information from > the API and use it to adjust your user interface appropriately. > Fwiw, currently the platform only supports HVGA screens, and that should be all you care about. When other resolutions (really densities) are supported in the future, the platform will make sure that existing applications that have been designed for HVGA will work on those screens. You can look at how PalmOS's density support works for a very rough idea of how this might look. In general, the Android project takes backwards compatibility with applications very seriously, and will be doing everything reasonably possible avoid breaking applications as Android supports a growing variety of hardware. You can look at the new input method stuff in cupcake to get a flavor about how this can be approached, such as it using pan&scan of an application window when an IME is on top of an application that does not support resizing to account for it. -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

