A simple, fast and safe QR code reader for Android
How the heck am I supposed to scan a QR code on my phone screen?
Android's redesigned QR code scanner is rolling out with one-handed improvements
java - How to scan QRCode in android - Stack Overflow
What is the best QR Code scanner app for Android with no ads?
Are free QR Code scanner apps safe to use?
How do I scan a QR code without an app?
Videos
QR Friend is a simple, fast and safe QR code reader for Android.
I was using an older Android phone for a while, without access to Google Lens. That meant I needed to get an app for reading QR codes. But I couldn’t find a decent one on Google Play. They were either outdated, or riddled with ads and unnecessary features. So we built QR Friend.
No ads, accounts or shady data collection. And it supports almost all QR codes you throw at it: WiFi, contact information, GPS location, barcodes, and more. You can browse throw past scans, and pin your favorites.
Please try it out if you’re looking for an app like this. We'd love to hear your feedback and suggestions!
Download on Google Play: https://play.google.com/store/apps/details?id=io.bloco.qr 👈
be me.
i go to a website on my phone and there is a QR code
i screenshot it and mail it to my computer
then I turn on my camera on my phone and scan the monitor of my computer
there must be a better way
try {
Intent intent = new Intent("com.google.zxing.client.android.SCAN");
intent.putExtra("SCAN_MODE", "QR_CODE_MODE"); // "PRODUCT_MODE for bar codes
startActivityForResult(intent, 0);
} catch (Exception e) {
Uri marketUri = Uri.parse("market://details?id=com.google.zxing.client.android");
Intent marketIntent = new Intent(Intent.ACTION_VIEW,marketUri);
startActivity(marketIntent);
}
and in onActivityResult():
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == 0) {
if (resultCode == RESULT_OK) {
String contents = data.getStringExtra("SCAN_RESULT");
}
if(resultCode == RESULT_CANCELLED){
//handle cancel
}
}
}
2016 update
The current recommendation is to use the Android Barcode API, which works locally (offline), without requiring a server roundtrip:
The Barcode API detects barcodes in real-time, on device, in any orientation. It can also detect multiple barcodes at once.
It reads the following barcode formats:
- 1D barcodes: EAN-13, EAN-8, UPC-A, UPC-E, Code-39, Code-93, Code-128, ITF, Codabar
- 2D barcodes: QR Code, Data Matrix, PDF-417, AZTEC
It automatically parses QR Codes, Data Matrix, PDF-417, and Aztec values, for the following supported formats:
- URL
- Contact information (VCARD, etc.)
- Calendar event
- Phone
- SMS
- ISBN
- WiFi
- Geo-location (latitude and longitude)
- AAMVA driver license/ID
Check out the codelab - Barcode Detection with the Mobile Vision API.