Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

handle orientation for phone and tablet

$
0
0

How to handle portrait orientation for phone and both landscape and portrait for tablet using the single android apk file.Right now i am handling the orientation using the widnow's OrientationMode properties.for tabblet set all OrientationMode and for phone set Portrait only.I am not using custom manifest at all.Using the orientationMode property works fine in tablet but when i open window in landscape mode in phone application is crashed.when i try to open the window in landscape window is opened and immediately rotate to portrait and application is crashed(for phones only because set portrait orientation only).


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>