While we're on the topic, can you have different orientation handling
for different activities within the same application?

It currently does not work for me.

I have one Activity that I want to force to Lanscape, so I set
screenOrientation and configChanges in that Activity.  (Just so
happens to be my MAIN activity).

I then have additional Actitivites that do not have screenOrientation
nor configChangesset in manifest.

The Main Activity is forced to landscape as desired.  But, when I
launch the "sub-Activities", they are forced to landscape too, and I
don't want them to be, I want them to be oriented based on the
physical orientation of the phone.



On Feb 19, 3:58 am, Tatyana Ulyanova <[email protected]> wrote:
> Thank You very much for reply, Mark :)
>
> You're absolutely right that it's not a good idea to dictate to other
> application their orientation.
>
> But is there any way to change landscape orientation in global way -
> for all aplications? It would seem like user turn their phone, but
> programmatically.
>
> Maybe some changes of settings or configuration?
>
> Thanks:)
>
> On 18 фев, 23:20, Mark Murphy <[email protected]> wrote:
>
> > Ask the user to turn their phone.
>
> > What you are asking for is the right to dictate to other applications
> > how they are displayed. I imagine you would not like that if other
> > developers did that to you -- overriding your landscape request, for
> > example.
>
> > If you want to force landscape Web browsing, you can embed WebView in
> > your app and implement it that way. And, you are welcome to force as
> > many of your own activities to be landscape that you want.
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > _Android Programming Tutorials_ Version 1.9 Available!

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

Reply via email to