09-15-2012, 09:23 PM | #1 |
Pest
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
Reading Timer launcher extension
Important note (2013-01-09)
since firmware 5.3.2 the "time to read" feature is enabled by default and this extension is not needed anymore (and must not be installed). Eureka has found a disabled Kindle Touch 5.1.2 feature which seems to be used in the latest Kindle Paperwhite model announced by Amazon (advertised as "Time to read"). He noticed that in /opt/amazon/ebook/config/reader_plugins.xml there's a commented plugin called Reading Timer (located in /opt/amazon/ebook/lib/ReadingTimer.jar). Well, I uncommented the plugin and restarted the framework and ... It seems to work. When you open a book, in the menu you find a new item "Activate reading timer" (already localized in IT, DE, FR, ES, ...). After a first phase of "training" the timer begins to work. It gives (on the status bar) a projection of how much you have already read and how much you miss to the end of the book even if I don't know how accurate it is. The initial training can be reset by removing the reading preferences file (warning: also font and margin preferences are reset, and the introductory page teaching how to turn pages is shown again once). You can tap on the status line ad the bottom of the display to switch between different infos (time elapsed since beginning, time to the end of the section and of the book). For more screenshots see here. Reading timer launcher extension Implementing a "Launcher" extension to load/unload this plugin is quite simple: remove comments from the appropriate line in /opt/amazon/ebook/config/reader_plugins.xml file or set them back and then restart the framework. Prerequisites:
To activate the extension, unzip the files in the extensions directory. A new "readingtimer" subfolder should appear, containing a shell script in readingtimer/bin which does the trick. Warning: This extension has been tested only on my 5.1.2 kindle touch. Don't use it on different firmwares and in particular don't use it with firmwares from 5.3.2 on (it's no longer needed and could damage your KT). In any case don't use it unless you know what you're doing. Do a complete backup before trying since it could damage your kindle. After tapping on "Load/Unload Reading Timer plugin" you will see your display turn white. Wait until the framework has restarted. At the end of the book menu (that which pops up when touching the top of the display) you will find an "Activate reading timer" entry. Tap it and the plugin will start counting time. «At this moment, 3h 45m at the end of the book I'm reading and 10 minutes to the end of the section. I've enough time to read the section to the end and maybe I'm going to finish the whole book within tuesday». ;-) This extension has been tested only on my 5.1.2 kindle touch. Don't use it on previous firmwares and in any case don't use it unless you know what you're doing. Do a complete backup before trying since it could damage your kindle. To install:
To uninstall:
A regular .bin package may come as soon as I'll understand how to do it (thanks to twobob for addressing me to the proper infos). By the way, installation is such straightforward that I don't feel that a bin package is actually needed. Help needed The Reading Timer plugin is actually bundled into the firmware of KT. Actually this extension just uncovers an hidden feature but doesn't add anything to the system. Could it make sense to add it directly into the Launcher package? Any comment welcome. Some possible issues/developments
Changes
Last edited by pirl8; 01-09-2013 at 04:00 AM. Reason: not compatible with firmware 5.3.2 |
09-16-2012, 08:08 AM | #2 |
Uno mas
Posts: 188
Karma: 16079
Join Date: Aug 2012
Device: Kindle Touch, Kindle PaperWhite
|
Gracias
|
Advert | |
|
09-17-2012, 10:22 AM | #3 |
Connoisseur
Posts: 61
Karma: 509184
Join Date: May 2012
Device: Kindle Touch
|
I wonder if this will be included in an upcoming official KT update. surely so, since it's simply commented out right now.
|
09-17-2012, 01:35 PM | #4 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Given that there are a lot of "paperwhite" functionalities already present in the 5.1.2 firmware (support for light, support for 1024x758, reading timer...), it looks like the PW has extensively been tested with 5.1.2. Which could in turn mean that the PW simply ships with 5.2.0, and that that version could also support older Kindle Touch models. Just speculation at this time... we'll know in a few weeks from now.
|
09-17-2012, 01:50 PM | #5 | |
THE NOOB
Posts: 701
Karma: 1545649
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
|
Quote:
|
|
Advert | |
|
09-17-2012, 01:54 PM | #6 |
(offline)
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
|
09-17-2012, 03:28 PM | #7 | |
Pest
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
Quote:
BTW, I had a new-look "paint it black" kindle 4 non-touch in my hands and I must say that it really looks much better than the silver one. |
|
10-06-2012, 10:51 AM | #8 |
Zealot
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
|
i've installed the extension successfully (Turn On/Off Reading Timer selection appears in Menu), but no timer appears at the bottom of the screen. thinking that it might be because of the JBpatch i've installed, i disabled the Customize Progress Indicator, but still to no avail.
my firmware is 5.12, with the latest JBpatch. could it be that this extension is incompatible with JBpatch? thanks. |
10-06-2012, 11:07 AM | #9 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
|
|
10-06-2012, 11:59 AM | #10 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
-erm no it does.... wait for training to finish . click bottom right to check
same setup. cheers Last edited by twobob; 10-06-2012 at 12:10 PM. |
10-06-2012, 12:40 PM | #11 | |
Pest
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
Quote:
Have you tried tapping over the status line, at right? The indicator should appear saying that training is in action. It may also say that your book is finished. If you keep reading after a very few pages the time left to read should appear. By tapping, a few different layouts should appear, one of which with the JBPatch status line resized at the center. Last edited by pirl8; 10-06-2012 at 12:48 PM. |
|
10-06-2012, 01:44 PM | #12 | |
Zealot
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
|
Quote:
i discovered that i've to tap somewhere in the middle of the status line to activate the timer. i also found that i couldn't activate the timer because i've set the bottom margin too small that my finger couldn't reach the status line. problem solved when i used a pen |
|
10-06-2012, 04:42 PM | #13 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
ah good
|
11-29-2012, 05:28 PM | #14 |
Pest
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
I've updated the extension to version 0.0.3. Training data can be reset by removing the reading preferences file (warning: also font and margin preferences are reset, and the introductory page teaching how to turn pages is shown again once).
Many thanks to thomass! |
11-29-2012, 06:32 PM | #15 |
Pest
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
|
Version 0.0.4: preference file backup is now copied into the extension dir instead of /mnt/us.
|
Tags |
launcher add-ons |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reading Timer | pirl8 | Kindle Developer's Corner | 12 | 12-04-2012 12:24 PM |
Image Viewer: An extension for GUI Launcher on Kindle Touch 5.1 | starsy | Kindle Developer's Corner | 20 | 08-04-2012 04:15 PM |
First timer | GrannyPan | Introduce Yourself | 7 | 06-29-2011 12:34 AM |
First Timer | EMJESS | Introduce Yourself | 3 | 06-24-2011 08:45 PM |
Hello from an old new-timer | ebuyer099 | Introduce Yourself | 1 | 05-21-2010 01:34 PM |