|
|
#1 |
|
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 585
Karma: 1245625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
5.1.0 firmware & orientation
I hope this interests someone... I just updated my Kindle Touch to 5.1.0 and I found out that orientation now doesn't works with browser and WAF applications. Playing around, I managed to make the GUI launcher orientation script to work even in the home screen. I changed the value of this entry in appreg.db to URL (instead of U): ![]() Anyway, creating a similar entry for the browser or any of the WAF doesn't work. Any clue? |
|
|
|
|
|
#2 |
|
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 585
Karma: 1245625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
I investigated a little more....
It seems like something is preventing to send the orientationLock event... While displaying the browser, or a WAF, I can't get this in the log file: Code:
I lipc:evts:name=orientationChange, origin=com.lab126.winmgr, fparam=R:Event sent Code:
I lipc:evts:name=orientationChange, origin=com.lab126.winmgr, fparam=U:Event sent |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 585
Karma: 1245625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
I found something in browser JS...
Code:
// set orientation // eventually can get this information from webkit's orientation // implementation, but it is not currently enabled Anyway it seems that everything is ready to receive a rotation support! Maybe in the next firmware release.... |
|
|
|
|
|
#4 |
|
Mayan Goddess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,296
Karma: 4929665
Join Date: Dec 2011
Device: K3/K4/K5/PW
|
Shamelessly plugging in here:
http://www.mobileread.com/forums/sho...6&postcount=49 contains a method to support all orientations (including upside-down) in the Reader, the Home screen, and even Kindlets. (Not WAF applications though). No changes required (except for installing the jbpatch thing )!
|
|
|
|
|
|
#5 |
|
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 585
Karma: 1245625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Thanks a lot for all your work!
I'll try it this evening! I'm really thinking of converting my ImageGallery (WAF) to a kindlet as WAF have so many limitations... |
|
|
|
|
|
#6 |
|
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 585
Karma: 1245625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Finally rotation is back even for WAFs!!!
You have to add this to your config.xml file: Code:
<kindle:messaging>
<kindle:app name="com.lab126.pillow" value="yes"/>
</kindle:messaging>
Code:
kindle.dev.setOrientation(state); Have fun! |
|
|
|
|
|
#7 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 395
Karma: 33660
Join Date: Jul 2011
Device: Kindle 3, Kindle 4, Kindle PW, Nexus7 3G
|
@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?
|
|
|
|
|
|
#8 | |
|
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 585
Karma: 1245625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
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>
Code:
kindle.dev.setOrientation(state); - 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. |
|
|
|
|
|
|
#9 |
|
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 585
Karma: 1245625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
I'm here again to share another finding...
You can use the old: Code:
kindle.dev.setOrientation(state); Code:
state Code:
portraitUp portraitDown landscapeLeft landscapeRight LandscapeRight and landscapeLeft work, but I had some UI problems I didn't have with Code:
state="landscape" All in all, we have 4 direction rotation now... |
|
|
|
|
|
#10 |
|
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 585
Karma: 1245625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
My Kindle just update itself to 5.1.2, and it seems that the UI problems are solved!
I don't know if this is related to the update (I didn't managed to test the 4-way-rotation deeply). |
|
|
|
|
|
#11 | |
|
Всё гениальное просто.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,023
Karma: 6352591
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
|
Quote:
__________________
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
![]() |
|
|
|
|
|
|
#12 |
|
THE NOOB
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 585
Karma: 1245625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
|
|
|
|
|
|
#13 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,134
Karma: 3854695
Join Date: Feb 2012
Device: Intel 4004
|
oops.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRS-T1 orientation | FinancialWar | Sony Reader | 14 | 05-17-2012 10:38 AM |
| Orientation lock | zktiera | PocketBook | 4 | 06-12-2011 12:49 AM |
| Landscape Orientation For Ebooks? | Kurt | Barnes & Noble NOOK | 2 | 04-21-2011 07:32 AM |
| How to keep always-portrait orientation? | Nexutix | Android Devices | 4 | 02-02-2011 08:28 PM |
| PRS-950 Fix Browser Orientation | jessie102 | Sony Reader | 0 | 12-11-2010 12:01 PM |