MuPDF-Viewer is an Android application written in Kotlin that allows users to view PDF files using the MuPDF library.
MuPDF-Viewer is an open-source Android application developed in Kotlin. It leverages the MuPDF library to provide a lightweight and efficient PDF viewing experience on Android devices.
To set up the development environment for MuPDF-Viewer, follow these steps:
-
Install Android Studio: Download and install the latest version of Android Studio.
-
Clone the Repository: Clone this repository to your local machine using Git.
git clone https://github.com/tuxxon/mupdf-viewer.kotlin.git
-
Open the Project: Launch Android Studio and open the cloned project directory.
-
Install SDK and Dependencies: Ensure you have the required Android SDKs and dependencies installed. Android Studio will prompt you to install any missing components.
To build the MuPDF-Viewer application, follow these steps:
-
Sync Project: Open the project in Android Studio and let it sync to download all necessary Gradle dependencies.
-
Build the Project: Use the "Build" menu in Android Studio to build the project or use the following Gradle command in the terminal.
./gradlew build
-
Resolve Issues: If there are any build issues, resolve them as indicated by Android Studio or the terminal output.
To run the MuPDF-Viewer application on an Android device or emulator, follow these steps:
-
Connect Device: Connect your Android device via USB or start an Android emulator.
-
Run the Project: Click the "Run" button in Android Studio or use the following Gradle command in the terminal.
./gradlew installDebug
-
Launch the App: The application should be installed and launched on the connected device or emulator.
We welcome contributions to the MuPDF-Viewer project. To contribute, please follow these steps:
-
Fork the Repository: Fork this repository to your GitHub account.
-
Create a Branch: Create a new branch for your feature or bug fix.
git checkout -b feature-name
-
Make Changes: Make your changes and commit them with clear and descriptive commit messages.
git commit -m "Description of the feature or fix"
-
Push Changes: Push your changes to your forked repository.
git push origin feature-name
-
Submit a Pull Request: Open a pull request to merge your changes into the main repository.
MuPDF-Viewer is licensed under the MIT License. See the LICENSE file for more details.
This project is inspired by and utilizes the MuPDF library. For more information, visit the MuPDF Android Viewer repository.