Android Question Set Screen Orientation

hjavier

Member
Licensed User
Longtime User
I am trying to lock the screen orientation What is the command?

Activity.SetScreenOrientation(1) is not available.
 

hjavier

Member
Licensed User
Longtime User
So I got the #SupportedOrientations attribute working and that is all I really need, but for my understanding when you use Phone.SetScreenOrientation how is Phone defined?
 
Upvote 0

hjavier

Member
Licensed User
Longtime User
Yes I get that but when I am declaring "Dim ph As Phone" the Phone does not come up in the auto completion mode.
 
Upvote 0
Top