09-08-2023, 05:37 PM | #1 |
Wizard
Posts: 2,790
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 10:08 AM. |
03-12-2024, 05:19 PM | #2 |
Wizard
Posts: 2,790
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 | |
|
03-20-2024, 10:44 PM | #3 |
Wizard
Posts: 2,790
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. |
03-30-2024, 01:03 AM | #4 |
Wizard
Posts: 2,790
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Some more features:
|
03-30-2024, 09:01 AM | #5 |
the rook, bossing Never.
Posts: 12,340
Karma: 92073397
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 | |
|
03-30-2024, 12:08 PM | #6 | |
Wizard
Posts: 2,790
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:
|
|
03-30-2024, 01:47 PM | #7 | |
the rook, bossing Never.
Posts: 12,340
Karma: 92073397
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! |
|
03-30-2024, 05:50 PM | #8 | |
Wizard
Posts: 2,790
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 07:03 PM. |
|
04-27-2024, 11:07 AM | #9 |
Junior Member
Posts: 4
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! |
04-27-2024, 12:17 PM | #10 |
Junior Member
Posts: 4
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?
|
06-21-2024, 12:34 AM | #11 |
Wizard
Posts: 2,790
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
More new features:
|
09-11-2024, 05:10 PM | #12 |
Militaires Sans Frontière
Posts: 18
Karma: 32
Join Date: May 2024
Device: PocketBook Era Color
|
Would it be possible to add reading stats to Lithium? MoonReader has the stats I want but I can't sort by series and it's still meh on eink screens.
|
10-18-2024, 11:57 AM | #13 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2024
Device: Amazon Kindle
|
Lithium doesn't currently have built-in support for detailed reading stats or series sorting
Last edited by OllyBe; 10-18-2024 at 11:59 AM. |
10-20-2024, 02:30 PM | #14 |
Wizard
Posts: 2,790
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
Tags |
android, epub, patch, patches, patching |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lithium reader, can't get it to centre headings | bookman156 | Android Devices | 24 | 08-24-2022 07:48 AM |
Android devices. Built in e-reader vs. e-reader app. Your preferences? | norweger | Android Devices | 19 | 11-10-2019 12:12 PM |
[Android App] Default reader app selection? | Mousebumples | Devices | 12 | 11-13-2012 01:12 PM |
ePub and Mobi app for Android | Kumabjorn | Android Devices | 8 | 08-27-2012 06:47 AM |
Sony Reader Android App/ Nook Android App | Quelle | Android Developer's Corner | 3 | 11-12-2011 12:31 AM |