An open API service indexing awesome lists of open source software.

https://github.com/js-bhavyansh/camera_app

Android camera app with photo/video capture, camera switch, and gallery access. Utilizes camera/audio permissions and implements dependency injection, ViewModel, and repository pattern.
https://github.com/js-bhavyansh/camera_app

android-application camerax jetpack-compose kotlin

Last synced: 7 months ago
JSON representation

Android camera app with photo/video capture, camera switch, and gallery access. Utilizes camera/audio permissions and implements dependency injection, ViewModel, and repository pattern.

Awesome Lists containing this project

README

          

# Camera App

This repository contains a camera app for Android that allows users to capture photos, record videos, and switch between the front and back cameras. The captured media files are stored in the device's media store, and users can access their gallery directly from the app.

## Features

- **Capture Photos**: Click photos using either the front or back camera.
- **Record Videos**: Record videos with both front and back cameras.
- **Switch Camera**: Toggle between the front and back cameras with a single button.
- **Gallery Access**: Access your clicked photos and recorded videos directly from the app.

## Screenshots


First Flow Row
Second Flow Row

## Installation

1. Clone the repository:
```bash
git clone https://github.com/Bhavyansh03-tech/Camera_App.git
```
2. Open the project in Android Studio.
3. Build and run the app on your Android device or emulator.

## Usage

1. **Capture Photo**: Press the "Capture" button to take a photo. The photo will be saved in the media store.
2. **Record Video**: Press the "Record" button to start recording a video. Press it again to stop recording. The video will be saved in the media store.
3. **Switch Camera**: Press the "Switch Camera" button to toggle between the front and back cameras.
4. **Gallery Access**: Press the "Gallery" button to view your captured photos and videos.

## Permissions

The app requires the following permissions:
- Camera
- Read/Write External Storage
- Record Audio

Make sure to grant these permissions in your device settings if they are not prompted during installation.

## Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any improvements or bug fixes.

1. Fork the repository.
2. Create your feature branch (`git checkout -b feature/your-feature`).
3. Commit your changes (`git commit -am 'Add some feature'`).
4. Push to the branch (`git push origin feature/your-feature`).
5. Create a new Pull Request.

## Contact

For questions or feedback, please contact [@Bhavyansh03-tech](https://github.com/Bhavyansh03-tech).

---

*Happy Clicking!*