Generate a signed Android app that packages and syncs your managed document library, configured by your EMM or baked in.
‹The Bayton Document App Generator produces a signed Android app for managed PDFs, EPUBs, images, and text-based documents. Documents can be baked into the APK or fetched from URLs at runtime, then organised into folders and stored locally.
Add at least one document. Built-in files work offline and are not stored server-side. URL documents are fetched over HTTPS unless plain HTTP is enabled below and cached privately after a successful sync. Supported types: PDF, EPUB, MP4, WebM, images (PNG, JPEG, WebP, GIF, BMP, HEIC, HEIF), plain text, markdown, HTML, JSON, XML, CSV, and source code.
Folders are optional. A folder carries an id, name, and colour. Put a document in a folder by setting that document's folder id.
Debug builds are for local testing. Release signed uses Bayton's certificate when available. Self signed uses your own keystore. APK is directly installable; AAB is for Managed or private Google Play.
Every fresh build returns a one-time update code. Store it securely and enter it on future builds to reuse the same package name.
Every build also offers an optional source zip - the exact post-substitution Kotlin, XML, and Gradle files handed to Gradle - so you can audit precisely what was compiled or rebuild the app independently with your own tooling and keystore. A source rebuild matches ours byte-for-byte except the versionCode, which is intentionally derived from build time so every build outranks the last for Play and EMM update ordering - for that reason, don't push a self-built APK to the same distribution channel as ours.
Built-in bakes the file into the APK (offline, no hosting). URL fetches it from your intranet on each sync.
Where the app fetches this document on each sync. HTTPS unless you enabled plain HTTP above.
Built-in files together must be 90 MB (90,000,000 bytes) or less. URL MP4 and WebM video may be up to 2 GiB each; PDF and EPUB up to 150 MiB; other URL types up to 32 MiB. Built-in files are baked into the APK and not stored server-side, so re-attach them on each rebuild. The MIME type is detected from the file extension. For large or frequently-changing files, a URL source is better - fetched at runtime, cached privately, and updatable without a rebuild.
Optional. Put this document in one of the folders you defined above. Pick No folder to leave it at the library root.
On by default. Turn off to keep this document in the configuration but exclude it from the build and sync - a way to stage a document without shipping it yet.
Tints this folder's icon and accents in the library, distinct from the global accent.