A lightweight, open-source Android file manager. Browse your device's storage, preview text and images, extract ZIP archives, install APKs, and more — all in a simple, fast app.
- 📁 Browse the full filesystem (all-files access on Android 11+)
- 🖼️ Image preview with swipe left/right to navigate, rotate, and share
- 📄 Built-in PDF viewer (no extra library — uses the system renderer)
- 🔌 Can be set as the default handler for opening images and PDFs
- 📝 Edit & save text files (TXT, PY, JSON, JS, config, etc.) plus DOCX viewing
- 📦 ZIP / APK / EPUB extraction with path-traversal protection
- 📲 Install APK with robust unknown-source permission handling
- 👁️ Auto grid view with large thumbnails for image-heavy folders
- 🔍 Sort by name or date
- ☑️ Multi-select (long-press) with select-all, bulk delete and move to any folder
- ➕ Create new file or new folder from the toolbar menu
- 💾 Storage & RAM usage check
- ✏️ Rename / delete files and folders
- 📋 File properties dialog (path, size, type, modified date)
- 🌓 Dark-mode aware colors
| File | Purpose |
|---|---|
app/src/main/java/com/degard/filemanager/MainActivity.kt |
File browser, actions, APK install, storage dialog |
app/src/main/java/com/degard/filemanager/ArchiveExtractor.kt |
ZIP extraction (Apache Commons Compress) |
app/src/main/java/com/degard/filemanager/PreviewActivity.kt |
Image viewer (swipe/rotate/share) & text preview |
app/src/main/java/com/degard/filemanager/FileAdapter.kt |
List & grid adapters, threaded image thumbnails |
Requires:
- Android SDK 34 (
compileSdk = 34) - Java 17
- Kotlin 1.9.24 / AGP 8.5.0 (Gradle wrapper 8.7)
./gradlew assembleReleaseThe signed release APK is written to:
app/build/outputs/apk/release/app-release.apk
Note: the release build is signed with the debug keystore for easy sideloading.
MANAGE_EXTERNAL_STORAGE– browse the whole device (Android 11+)READ/WRITE_EXTERNAL_STORAGE– older Android versionsREAD_MEDIA_IMAGES– Android 13+ image accessREQUEST_INSTALL_PACKAGES– install APKs from unknown sources
- Allow Install unknown apps for the app you use to distribute it (e.g. a file manager or browser).
- Copy the APK to your device and open it.
- Follow the on-screen prompt to allow FileManager to install apps from unknown sources (Settings → the app's "Install unknown apps" toggle, opened automatically).
For an overview of all my other projects, see https://adegard.github.io/blog/

