A robust, hassle-free Barcode reader for Android powered by Google ML Kit's Barcode API.
- Go to a website, copy to clipboard or search scanned content on the web
- Scan a QR code on a business card (vCard) then add to contacts
- Open maps to navigate to a location embedded in a QR code
- Open dialer to call or SMS to a number scanned from a QR code
- Connect to a WiFi network by scanning a QR code
- Add an event to the calender by scanning a QR code
- Save scan history and do above actions even from the history
- Ability to use torch/flasher to scan in dark places
- Track and display a dot in the center of the decoded QR code/barcode in real-time
- Scan a QR code or a barcode saved in the device gallery
Android API 21 (Android 5.0 - Lollipop) or greater
-
Clone or download the repository and open "QRScanner" project using Android Studio
-
Create a Firebase project in the Firebase console, if you don't already have one (Using Firebase only for Analytics)
-
Add a new Android app into your Firebase project with package name com.auroid.qrscanner
-
Download the config file (google-services.json) from the newly added app and move it into the module folder (i.e. app/)
-
Build and run
Implementation using the older Google Mobile Vision Barcode API can be found on OldMobileVisionAPI branch. Since Google will wind down Mobile Vision Barcode API, migrated to Google ML Kit. Both API's are almost the same.