Re: [android-developers] Regarding screen orientation changes

2012-01-15 Thread James Black
If you control the other application (Application X), then when you launch it pass in another value in the extra data part, and don't specify the screen orientation, but, if the intent has this other value set correctly then it is forced to landscape mode. So, basically, the default is to not

[android-developers] Regarding screen orientation changes

2012-01-14 Thread Jay SB
Hi All, As far as i know, screen orientation can be changed by two ways, one is through Manifesto file and other is through code by setRequestedOrientation API. My requirement is to show the screen orientation in Landscape mode, only when it launched through one particular application. To

Re: [android-developers] Regarding screen orientation changes

2012-01-14 Thread James Black
It sounds like your requirements, or understanding is off, so you may want to check it out. The confusion is, if you automatically switch to landscape always then set it in the manifest. If you start in portrait mode then why switch them? Or what should happen differently on this orientation?

Re: [android-developers] Regarding screen orientation changes

2012-01-14 Thread Jay SB
James, Thanks for your response. I am working on Email application, my requirement is to show all the screen orientation only in landscape mode irrespective of device orientation, only when it launched through one particular application (Application X). If i launch the Email app through some