Android application that uses the CameraX library to implement the camera feature. The app allows users to take photos using their phone's camera and save to external storage. As well as sharing features, users can easily share captured images with other apps.
Click here to try out our sample app without downloading or installing anything.
Programming Language: Kotlin
UI: Jetpack Compose
Development Tools: Android Studio IDE
Libraries and Frameworks:
-
CameraX library to implement the camera feature
-
Implemented a camera preview through AndroidView
-
Handles runtime read and write permission requests for camera access and external storage access
-
Sharing captured image to other apps with send Intent
-
Coil for preview of the captured images
-
Kotlin Coroutines for managing background tasks
-
Gradle for building and dependency management
Version Control: Git
Testing:
- JUnit and Mockito for unit testing
- Espresso for UI testing
- Sharing feature
- Camera Modes
- Add more integrations
To build the app from this repository, follow these steps:
-
Clone the repository to your local machine using HTTP: git clone https://github.com/lssarao/jetpack-compose-camerax.git
-
Open Android Studio on your local machine and click on open an existing Android Studio project.
-
Browse to the directory where you cloned the repository and import it.
-
Once the project is imported, you can build this app by clicking the run button in Android Studio.
-
Select your device or an emulator from the available options and and install the app.
If you encounter any issues or errors during the setup or building process, feel free to raise an issue on the repository.
I will be more than happy to receive your PR, I am open to suggestions or modifications.
If you have any feedback, please reach out to us at [email protected]
This project is licensed under the MIT License - see the LICENSE file for details.