Question

Is the content rendered in appMobi's device emulator supposed to respond (in the emulator) to simulated orientation changes? Mine doesn't, and I'm wondering if that's a problem with my installation or whether that level of sophistication is not (yet) available in the emulator.

Was it helpful?

Solution

The XDK should throw an "appMobi.device.orientation.change" Javascript event when the simulated orientation changes. Any other rendering changes would depend on how your HTML is structured. Do you see that event?

Make sure to use the "Rotate Orientation" button rather than simply rotating the application using the accelerometer controls. enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top