Is it possible to detect the device orientation and rotation in a hybrid mobile app? I would like to support device orientation and create a responsive page. EDIT: I only want the page to rotate when the device is rotated. When using the View Hybrid Mobile App option, the page does not respond to device rotation, it stays in portrait mode. When I open the page in Safari on my iPhone and rotate the device, the page rotates too.