![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,786
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Lithium EPUB Reader (Android) App Patches
I thought I'd share my patches for the Lithium EPUB Reader in case anyone finds them useful. I made them for myself back in 2019, and open-sourced them earlier this year.
Note that this does not unlock the Pro features; you still need to get that the normal way through Google Play. I've repeatedly tried to get in touch with the app's creator to try and get some or all of these improvements included in the base app without success, unfortunately. Source Code & Build Instructions . Last edited by geek1011; 09-09-2023 at 09:08 AM. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,786
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
I've recently added some features to this:
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,786
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
For testing, builds of the latest version can be found here.
These builds do not include sync support or additional custom fonts (you need to build it yourself for that), and pro features still require the pro version to be purchased from Google Play. |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,786
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Some more features:
|
![]() |
![]() |
![]() |
#5 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,233
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Can it do two pages side by side when tablet is in landscape? Unless I can't find the setting it's the only major omission on unpatched version.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,786
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
No, it can't, but that should be possible. I've been looking at the pagination mechanism since I'm trying to fix the highlight bug (highlighting near the top/bottom of the page or over large margins causes unpredictable jumping and scrolling).
It shouldn't break anything if I make the resize logic halve the page width on a screen of a certain width, and since it does reflow during any size change, it shouldn't cause other issues. Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,233
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
However loads of Android epub apps not only don't have those but are essentially like reading on PalmOS, totally broken CSS and font support! |
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,786
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
The only other apps that were even close were Boox, Prestigio, and PocketBook. Moon+ is okay-ish, but it kind of just throws the kitchen sink at everything and doesn't do anything particularly well. I liked Lithium at first sight, and when I started patching it, I liked it even more. It's very well-designed internally (unlike pretty much any other e-book app I've looked at apart from Libby), and since it's written in Java, it's much easier to patch to add major features than Kobo lol. Ever since then, I've been tweaking it until it's perfect... The last big things on my TODO list are reworking pagination (for the highlight fix, for better FXL support, for faster chapter loads, for spreads on landscape, and better position saving especially while changing fonts), PDF support (using PDF.js), and some tweaks to make it work better with EPUB3 stuff. Last edited by geek1011; 03-30-2024 at 06:03 PM. |
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2023
Device: PPW5, Scribe
|
![]()
You're a life saver, mine own android e-reader(s) but not a single apps are fully support Thai language flawlessly except this one. But the main problem is, as you have mentioned, the lack of customization of fonts and the size.
Thank you for your hard work! |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2023
Device: PPW5, Scribe
|
Oh by the way, the font selector doesn't work when the EPUB's language is set to 'th'. Workaround is to change the language to 'en' and it just works. Is this a bug or intended?
|
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,786
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
More new features:
|
![]() |
![]() |
![]() |
Tags |
android, epub, patch, patches, patching |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lithium reader, can't get it to centre headings | bookman156 | Android Devices | 24 | 08-24-2022 06:48 AM |
Android devices. Built in e-reader vs. e-reader app. Your preferences? | norweger | Android Devices | 19 | 11-10-2019 11:12 AM |
[Android App] Default reader app selection? | Mousebumples | Devices | 12 | 11-13-2012 12:12 PM |
ePub and Mobi app for Android | Kumabjorn | Android Devices | 8 | 08-27-2012 05:47 AM |
Sony Reader Android App/ Nook Android App | Quelle | Android Developer's Corner | 3 | 11-11-2011 11:31 PM |