Change device orientation from portrait to landscape


#1

I know that I can change the default orientation from the XML file
but , is there anyway to change the device orientation programmatically (in runtime)??


#2

Other than manually rotating the device, not really. This would be something you’d writing a plugin for to modify the main App view in cordova