Lark PDF Reader
work in progress
Kotlin · Jetpack Compose · Material 3 · C++20 · JNI · Android NDK · CMake · PDFium · qpdf · AIDL · ML Kit · DataStore · SQLite FTS4 · Google Play Billing · Cloudflare Workers
Lark PDF Reader is a PDF reader and editor for Android that is completely free and has no ads. It is supported by optional donations.
The problem
Useful PDF features on Android usually sit behind a subscription or a wall of ads: signing, redaction, merging, converting. I wanted one app that does all of it and does not charge for it.
How it works
- Lark Engine. A custom native engine written in C++ on top of PDFium and qpdf does the rendering and editing.
- Isolated process. The engine runs in its own process. A broken or hostile PDF can crash the engine without taking the app, or your other open documents, down with it.
- On-device features. OCR, translation and read-aloud run on the phone.
What it can do
Annotations, form filling, text editing, permanent redaction, PAdES digital signatures, merge, split and compress, password protection, OCR, translation, read-aloud, and PDF to Word conversion.
The hard parts
- Redaction that really removes the content from the file instead of drawing a black box over it.
- Digital signatures that other PDF software accepts as valid.
- Passing documents between the app and the engine process without copying large files around.
Status
Approved for production on Google Play. The website is available in 18 languages.