On Mar 21, 8:35 pm, TreKing <[email protected]> wrote: > On Sun, Mar 21, 2010 at 8:11 AM, neha <[email protected]> wrote: > > I want to write a application which should open in default orientation > > of the device and should not change the orientation with device > > rotation or slide-out keyboard opening/closing (if present). > > Now I'm curious - why, exactly, do you want to lock to one orientation when > you apparently don't care which it is?
Lets take an example of map application like Google maps. Generally a good map applications does not orientate with device, to allow the user to view map from any angle they desire. As this application does not want orientation to change, so we need to lock the orientation of the application. On any given device, this application should always display the same orientation irrespective of orientation of device at start-up. Reason for restricting the orientation to default orientation of device is that, it is the most likely position in which the user will hold the device and start the application. So on DROID this application would always be portrait but it would not be a good idea to display this application as portrait on tablets where device default orientation is landscape. On Mar 21, 8:35 pm, TreKing <[email protected]> wrote: > On Sun, Mar 21, 2010 at 8:11 AM, neha <[email protected]> wrote: > > I want to write a application which should open in default orientation > > of the device and should not change the orientation with device > > rotation or slide-out keyboard opening/closing (if present). > > Now I'm curious - why, exactly, do you want to lock to one orientation when > you apparently don't care which it is? > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered > deviceshttp://sites.google.com/site/rezmobileapps/treking -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

