Android Question WebView Landscape

Daniele Zanoni

Member
Licensed User
Longtime User
My application is built to work portrait:

#Region Module Attributes
FullScreen: False
IncludeTitle: True
SupportedOrientations: portrait
#End Region

But, i need an activity page with WebView to play a video and I need ONLY THIS PAGE in landscape.
How can i do it ?

Daniele
 

Daniele Zanoni

Member
Licensed User
Longtime User
Dear EREL thank you much for your answer, this can solve ...
but, there is another solution to play a VIMEO video for example h t t p s://vimeo.com/123456789 ?
Daniele
 
Last edited:
Upvote 0

Daniele Zanoni

Member
Licensed User
Longtime User
Found a solution:
1. Create a new "Activity Module" with name "videoshow"
2. Insert in Manifest
SetActivityAttribute("videoshow", android:screenOrientation, "landscape" )
3. use StartActivity(videoshow)
4. use activity.finish to close thi new activity.
WORKS !!!

Daniele
 
Upvote 0
Top