This sample project demonstrates the Google Code Scanner library. It features a simple button to initiate the scanner and process detected barcodes. For testing purposes, it is configured to open website links from scanned QR codes. The entire user interface is built with Jetpack Compose.
Important
For a detailed guide on the setup and implementation, check out my article on Medium:
- Barcode Scanning: Initiate the code scanner with a single button click.
- Link Handling: Automatically opens website links detected in scanned barcodes.
- Modern UI: A simple and clean interface built entirely with Jetpack Compose.
- UI: Jetpack Compose
- Machine Learning: Google ML Kit Code Scanner
- Language: Kotlin
- Target SDK: 36
- Minimum SDK: 29
- Kotlin Version: 2.3.10
- Gradle Version: 9.0.1
- Google ML Kit Documentation: Code Scanner
- Android Developers on X: Tweet about Code Scanner
If you enjoy this project, please give it a star! Check out all the stargazers here: Stargazers on GitHub
This project is actively maintained. Feedback, bug reports, and feature requests are welcome! Please feel free to open an issue or submit a pull request.