View Single Post
Old 06-07-2012, 08:47 AM   #8
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
Quote:
Originally Posted by diba View Post
@silver: which config.xml file please. I am lost between "extensions" of GUI and ixtabs version. And how to activate pls, could you add a sentence to make it clear?
I'm talking about WAFs here.
You need to edit the config.xml file of your WAF adding these lines:

Code:
<kindle:messaging>
       	<kindle:app name="com.lab126.pillow" value="yes"/>
</kindle:messaging>
and then, to change orientation, use this in JavaScript:

Code:
kindle.dev.setOrientation(state);
where state can be:
- auto
- portrait
- landscape

Here are examples:

config.xml from ImageGallery: click

how to change orientation from ImageGallery: click

You're welcome!

Last edited by silver18; 06-10-2012 at 10:13 AM.
silver18 is offline   Reply With Quote