12-08-2012, 03:59 AM | #796 | |
Zealot
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
|
Quote:
And there is a screenshot of the home screen after installing KPVBooklet. Note that PDF, DJVU and EPUB documents can be directly opened with KPV while Mobi and AZW formats are handled by native amazon reader. The file types are registered not in the booklet plugin but in a sqlite database located at /var/local/appreg.db. More information can be found at https://github.com/hwhw/kindlepdfviewer/issues/653 Last edited by chrox; 12-09-2012 at 08:08 AM. |
|
12-08-2012, 04:29 AM | #797 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
|
|
Advert | |
|
12-08-2012, 06:35 AM | #798 | |
( ͡° ͜ʖ ͡°){ʇ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:
Public? I haven't but I can if you wanted to have a look. like I say needs some extra logic putting in there to make it "actually work" as expected but I did manage to convert the TS areas to the various "buttons" |
|
12-08-2012, 06:58 PM | #799 |
Enthusiast
Posts: 41
Karma: 543274
Join Date: Dec 2012
Device: Kobo Aura HD, Kobo Glo HD
|
ok, I put KPVBooklet.jar into /opt/amazon/ebook/booklet/
but the next step I don't understand. What else do I have to do for installing this on the paperwhite? And how can I put the actual reader application on there manually? |
12-08-2012, 07:56 PM | #800 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
@dave2008, I've compiled KPV with KT support from your repo (commit cc38d9e6) and run it with
Code:
/mnt/us/kindlepdfviewver/kpdf.sh /mnt/us/documents Spoiler:
With this patch input events are intercepted and recognized (taps are taps with handler "onGesture", Home button is ["key"] = "Home" with handler "onKeyPress"). But, unfortunately, KPV interface isn't displayed on screen at all. Here is my eips -i: Spoiler:
EDIT: I have Kindle Tocuh 5.1.2 EDIT2: Output of strace eips '' has ioctl(3, 0x4048462e, 0xbed0baf8) = 0. EDIT3: It works. So:
Last edited by eureka; 12-09-2012 at 04:33 AM. |
Advert | |
|
12-08-2012, 08:09 PM | #801 |
Wizard
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
|
12-09-2012, 12:05 AM | #802 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Spoiler:
UPD I didn't find any traces of com.lab126.generic.extractor (or, at least, it isn't registered by default), so for displaying of file on Home screen, instead of writing into appreg.db : Code:
INSERT INTO "associations" VALUES('com.lab126.generic.extractor','extractor','GL:*.djvu','true'); Code:
[root@kindle tmp]# mntroot rw system: I mntroot:def:Making root filesystem writeable [root@kindle tmp]# cp -r /etc/kdb/system/daemon/scanner/extractors/7 /etc/kdb/system/daemon/scanner/extractors/20 [root@kindle tmp]# sed -ie 's/txt/djvu/g' /etc/kdb/system/daemon/scanner/extractors/20/glob [root@kindle tmp]# mntroot ro system: I mntroot:def:Making root filesystem read-only [root@kindle tmp]# restart scanner Last edited by eureka; 12-09-2012 at 01:11 AM. |
|
12-09-2012, 02:46 AM | #803 | |
Zealot
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
|
Quote:
Last edited by chrox; 12-09-2012 at 03:53 AM. |
|
12-09-2012, 04:13 AM | #804 |
Addict
Posts: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
|
@h1ro
You also have to cross-compile your own KPV from the latest code base if you haven't done so. So far we don't have nightly build for the new KPV yet. @twobob Yeah, I would like to learn from your code when you think its ready You can send me a mail if you find it more convenient. (dave2008713 <AT> gmail) @eureka Wow, that's fast! I will apply your patch to the new_ui branch. Could you please send me your identity (name, email)? So I can put you as the commit author. Or it would even better if you just send a pull request via Github The output from eips is indeed very helpful. I previously thought the framebuffer in KT is simillar to K4 I will be able to get some free time on Monday night. Then I will work on fixing the eink and tap coordinates stuff. Last edited by dave2008; 12-09-2012 at 04:23 AM. |
12-09-2012, 04:28 AM | #805 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Sorry for not using GiHtub. I totally understand it's usefulness and awsomeness and I promote it in general, but I'll try to avoid it for contributing into KPV as long as possible (for my personal reasons). |
|
12-09-2012, 04:36 AM | #806 | |
Addict
Posts: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
|
Quote:
|
|
12-09-2012, 07:18 AM | #807 |
Enthusiast
Posts: 29
Karma: 5000
Join Date: Jun 2012
Location: CZE
Device: Kindle Touch
|
are there somewhere compiled files for Kindle Touch? ... i don't have working cross-compiling setup and i would really like to try this
btw: Big thanks to everyone who helped to port this to KPW/K5 and to the original devs |
12-09-2012, 08:48 AM | #808 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Be sure to read both the top post and all the pages it links too. |
|
12-09-2012, 02:01 PM | #809 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
I don't think there are still owners of pre-5.1.0 devices, so it's just an interesting fact. But if you want to differentiate pre-5.1.0 devices: firmware version could be read from /etc/prettyversion.txt on device. P.S. Oh, I see this "old" structure is already present in include/mxcfb.h as mxcfb_update_data. |
|
12-09-2012, 05:04 PM | #810 |
Addict
Posts: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
|
Aha, that makes sense now. I previously thought mxcfb_update_data is for KT, so I was somehow suprised to see kindlePWeinkUpdate works in your KT.
I probably won't support version before 5.1.0 for now, until any pre-5.1.0 user come here and complain ;p |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Librerator - multi-format e-reader, fork of KPV | Kai771 | Kindle Developer's Corner | 433 | 05-25-2024 03:34 AM |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 11:49 AM |
Yet another PDF viewer (muPDF based) | melihron | PocketBook | 66 | 09-02-2014 03:03 AM |
Text-based PDF to Mobi, etc./Kindle 3 | kidblue | Calibre | 41 | 07-20-2012 03:19 PM |
muPDF on Kindle DX!! | DairyKnight | Kindle Developer's Corner | 8 | 03-21-2010 03:39 AM |