Back to Bukuloka Reader
edutech 2025

Bukuloka Reader for Android

Product Engineer

Available on:

Bukuloka Reader for Android is the flagship mobile application for accessing Bukuloka's digital book platform (bukuloka.com). Bukuloka is Indonesia's digital library and publishing marketplace focused on academic books: textbooks, scientific references, and monographs for students and lecturers.

With Bukuloka's flexible subscription system (per book, per day, or bundled packages), users can access thousands of academic books at a much more affordable cost than physical books. The app delivers a professional reading experience with advanced annotation tools (highlights, underlines, drawings, sticky notes), encrypted DRM protection for publisher security, background downloads via WorkManager, offline-first architecture with Room database, and sophisticated subscription management with duration-based access control.

Android Kotlin Room Database WorkManager PDF Renderer DRM Protection Retrofit Firebase Coroutines

Project Highlights

Access to Bukuloka digital library: textbooks, scientific references, and monographs

Flexible subscription system — per book, per day, or bundled packages

Advanced PDF annotation system with highlights, underlines, free-hand drawing, and sticky notes

Encrypted DRM protection with screenshot and screen recording prevention

Offline-first architecture with Room database and background download using WorkManager

Comprehensive reading experience with bookmarks, progress tracking, and chapter navigation

Subscription management with duration-based access control and bundle support

Project Info

Role Product Engineer
Year 2025
Category edutech

Tech Stack

AndroidKotlinRoom DatabaseWorkManagerPDF RendererDRM ProtectionRetrofitFirebaseCoroutines

Problem → Solution → Impact

Problem

Students and lecturers in Indonesia face challenges accessing academic books: physical books are expensive, availability is limited in stores, and campus libraries often run out of stock for popular references.

Existing e-book platforms mostly focus on fiction/popular books, while the demand for textbooks, scientific references, and monographs continues to grow among academics.

Publishers also struggle with piracy concerns, while readers need professional annotation tools for academic study — highlights for key concepts, notes for citations, and offline access for studying anywhere.

Solution

Built Bukuloka Reader for Android as the flagship app for Indonesia's academic digital library platform. The app provides access to thousands of textbooks and references with flexible subscription pricing (per book, per day, or bundled packages) — far more affordable than physical books.

Implemented professional-grade reading features: complete annotation system (4 types with customizable colors), encrypted DRM protection for publisher security, offline-first architecture with Room database, and background downloads via WorkManager for seamless content access.

Impact

  • Students and lecturers can access textbooks and scientific references at subscription costs far more affordable than buying physical books
  • Professional reading experience with advanced annotation tools matching desktop PDF editors — perfect for academic study
  • Secure content distribution with encrypted DRM and screen capture prevention, protecting publisher and author rights
  • True offline-first capability — downloaded books remain accessible without internet, ideal for studying anywhere
  • Flexible subscription model (per book/per day/package) democratizes access to academic knowledge
  • Supports Indonesia's digital publishing ecosystem by providing secure distribution channels for local authors and publishers

Engineering Challenges & Solutions

Technical obstacles encountered during development and the architectural decisions made to overcome them.

Challenge

Real-time PDF annotation with gesture-based creation across different screen sizes

Solution

Implemented normalized coordinate system (0.0-1.0) for annotations, ensuring consistency across devices. Built draggable floating tool panel with 4 annotation types (highlight, underline, drawing, sticky notes), each supporting multiple colors and real-time preview during creation.

Challenge

Secure PDF storage with content protection against piracy

Solution

Implemented encrypted DRM protection where e-books are secured immediately after download. Content is stored in protected internal storage and decrypted only in-memory during reading, ensuring files are never exposed in plaintext form.

Challenge

Preventing screen capture and recording of protected content

Solution

Applied secure window flags to prevent screenshots and screen recording while reading e-books, similar to streaming apps like Netflix. This ensures content cannot be captured through screen recording apps or system screenshots.

Challenge

Background download queue with progress tracking and retry mechanism

Solution

Built WorkManager-based download system with foreground service notifications showing real-time progress. Implemented automatic retry with exponential backoff (up to 3 attempts), queue management for concurrent downloads, and DRM protection applied before marking complete.

Challenge

Offline-first architecture with cross-device sync for reading progress

Solution

Created dual-layer data persistence: Room database for local offline access, synced with remote server for reading history and annotations. Implemented conflict resolution for bookmarks/annotations when syncing across multiple devices.

Challenge

Token management for long-lived sessions without security compromise

Solution

Built JWT-based authentication with refresh token mechanism stored in EncryptedSharedPreferences. Automatic token refresh occurs transparently before expiration, enabling 30-day sessions while maintaining security through short-lived access tokens.

Challenge

Duration-based access control for time-limited subscriptions

Solution

Implemented access validation system that checks subscription status and expiration dates at book open. Built countdown UI for active subscriptions, automatic access revocation upon expiry, and renewal flow for expired bundles - all synchronized with backend.

Architecture Overview

The application follows clean architecture principles with clear separation between UI, domain logic, and data layers. Kotlin Coroutines handle asynchronous operations, while Room Database provides offline-first capability. PDF rendering uses Android native PDF renderer with custom annotation overlay system.

Presentation
Android Views/FragmentsViewModel (MVVM)Custom PDF Renderer
Domain
Use CasesBusiness LogicAccess Control
Data
Repository PatternRoom DatabaseRetrofit API
Background
WorkManagerForeground ServiceDownload Queue
Security
Encrypted DRMScreen Capture PreventionJWT AuthSecure Storage

Screenshots

Interested in working together?

Let's discuss your next project and create something amazing.

Get In Touch