Draftly is a modern and powerful Android application designed to provide a seamless document viewing experience. Whether it's a critical business report, a complex spreadsheet, or a creative presentation, Draftly ensures you can access and view your documents with ease and speed.
- Wide Format Support: Seamlessly view PDF, Microsoft Word (DOC/DOCX), Excel (XLS/XLSX), and PowerPoint (PPT/PPTX) files.
- Image to PDF Converter: Convert multiple images from your gallery into a single, high-quality A4 PDF with a custom file name.
- Modern Storage API: Uses the MediaStore API to save generated documents directly to the public
Documentsfolder, ensuring compatibility with Android 10+ and instant visibility in file managers. - Modern UI/UX: Built entirely with Jetpack Compose, featuring a clean, responsive, and intuitive Material 3 design with an interactive expandable FAB for quick actions.
- High Performance: Optimized document loading using the Apache POI engine for office documents and native PDF rendering.
- Deep Integration: Handles document viewing requests from other apps (Email, File Managers, etc.) and provides easy Share and Open actions for created files.
- Recent Files: Quickly pick up where you left off with a persistent history of recently opened documents.
- Dark Mode: A beautiful dark theme that’s easy on the eyes.
- Privacy Focused: Works entirely on-device with no external server processing of your documents.
- Language: Kotlin
- UI Framework: Jetpack Compose (Material 3)
- Architecture: MVVM (Model-View-ViewModel)
- Processing Engine: Apache POI (for Word, Excel, PPT)
- Database: Room (for Recent Files)
- Data Storage: DataStore (for Settings)
- Image Loading: Coil
- Async Operations: Kotlin Coroutines & Flow
- Android Studio Iguana or newer.
- Android SDK Level 26+.
- Gradle 8.0+.
- Clone the repository:
git clone https://github.com/yourusername/Draftly.git
- Open the project in Android Studio.
- Sync the project with Gradle files.
- Run the app on an emulator or a physical device (Minimum SDK 26).
app/src/main/java/com/docviewer/allinone/data/: Repositories, DAOs, and Data Models.ui/: Compose Screens, ViewModels, and Theme.viewer/: Document processing logic and viewer factories.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for a better document viewing experience.
