ranma thanks, but isn't that what this code does:?
AppMobi.device.setRotateOrientation('landscape');
Mine seems to work only with this one. I'm just wondering if there is an advantage to using both.
this line only prevents from going to portrait, you still have TWO options to go landscape, let's call it "left" and "right" landscape :) with
AppMobi.device.setAutoRotate(false);
you get only "left" one :)