You can use
android:screenOrientation="portrait"
in the activity tag of your manifest.
Then this activity will not change to landscape mode.
You'd still need to save the state of your activity as it can be
obscured by other activities or even removed by the system at any
time.

--
http://www.deepdroid.com


On Mar 12, 2:25 pm, "Mr.No" <[email protected]> wrote:
> Hello,
>
> how do i prevent the landscape modus? or how i can save the state of
> my app. without saving manual the data?
> rgds Mr.No
--~--~---------~--~----~------------~-------~--~----~
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