I have an app that mostly uses Landscape but has one Portrait activity.
I need to be able to set and freeze the orientation on a per activity basis.
I've tried Phone.SetScreenOrientation as described here but that does not lock the orientation and it still changes on a device rotation.
There is a thread that describes how to do this (how to lock orientation during runtime) and it seems like it would be a fit for Reflection but I don't have a good handle on Reflection semantics.
Is anyone willing to translate it for me or give me a pointer.
thanks.
I need to be able to set and freeze the orientation on a per activity basis.
I've tried Phone.SetScreenOrientation as described here but that does not lock the orientation and it still changes on a device rotation.
There is a thread that describes how to do this (how to lock orientation during runtime) and it seems like it would be a fit for Reflection but I don't have a good handle on Reflection semantics.
Is anyone willing to translate it for me or give me a pointer.
thanks.