View Single Post
Old 06-07-2012, 09: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: 698
Karma: 1545625
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 11:13 AM.
silver18 is offline   Reply With Quote