In some cases, your application doesn't even have to know. Android uses the proper xml file (landscape or portrait). If these are different, the presence of ui elements will tell you what's happening. If your app just fills and listens to elements that are not null, you don't care what orientation you're in. Of course, this doesn't go for all apps.
just my two cents. On Nov 8, 2:04 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > Check orientation in the manifest file for your activities then > override onConfigurationChanged in your activities, this function will > be called each time the phone's orientation changes. > > On Nov 7, 3:02 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > Hi , > > I mean, If the device be rotated, android shall auto-adjust my > > application to fit screen, but how can I get the notification in my > > program?? especially It's a base web-browser's application, and > > whether can I cancel this auto-adjustment ? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---