S Shane119 Member Licensed User Longtime User Jun 13, 2011 #1 Hi Everyone I'm writing a simple app where all the activities need to be portrait except for the 1 of the screens which needs to be landscape - for displaying a map. If there a way of telling the app to ignore the orientation change in the app such as the the IDE's Project--> Orientation support--> Portrait, BUT allow an override for 1 of the activies that needs to be landscape. Thank you for all your help. Shane
Hi Everyone I'm writing a simple app where all the activities need to be portrait except for the 1 of the screens which needs to be landscape - for displaying a map. If there a way of telling the app to ignore the orientation change in the app such as the the IDE's Project--> Orientation support--> Portrait, BUT allow an override for 1 of the activies that needs to be landscape. Thank you for all your help. Shane
Erel B4X founder Staff member Licensed User Longtime User Jun 13, 2011 #2 You can use Phone.SetScreenOrientation http://www.b4x.com/android/help/phone.html#phone_setscreenorientation to programmatically set the orientation of an activity. Upvote 0
You can use Phone.SetScreenOrientation http://www.b4x.com/android/help/phone.html#phone_setscreenorientation to programmatically set the orientation of an activity.
S Shane119 Member Licensed User Longtime User Jun 14, 2011 #3 Thank You Erel - that worked a charm Shane Upvote 0