View Single Post
Old 09-22-2013, 06:19 AM   #15
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Well, it works in 5.3.7 firmware!
It is also included in the Mesquite API (check in /var/local/mesquite/shared/javascripts/device.js).
Code:
kindle.dev.setOrientation(orientation);
Orientation variable can be:
Code:
orientations = {
    auto: 'auto',
    portrait: 'portrait',
    portraitUp: 'portraitUp',
    portraitDown: 'portraitDown',
    landscape: 'landscape',
    landscapeLeft: 'landscapeLeft',
    landscapeRight: 'landscapeRight'
};
silver18 is offline   Reply With Quote