I know that in Safari on an iPhone you can detect the screen's orientation and change of orientation by listening for the
Is this possible in the browser on Android phones?onorientationchange
event and querying window.orientation
for the angle.To be clear, I am asking whether the rotation of an android device can be detected by JavaScript running on a standard web page. It is possible on an iPhone and I wondered whether it could be done for Android
VIEW COMPLETE THREAD WITH REPLIES