In Android, Using ZXing we can scan a QR code through phone camera and decode it.
But, in my scenario, the QR code image is stored in the phone itself and I need to decode it.
Is there anyway to decode a QR image in this manner?
In Android, Using ZXing we can scan a QR code through phone camera and decode it.
But, in my scenario, the QR code image is stored in the phone itself and I need to decode it.
Is there anyway to decode a QR image in this manner?
You can simply use the Mobile Vision API for decoding a QR Code from Image.It is very accurate and can detect more than one Qr code over image.
You have to include the following library inorder to use Mobile Vision API :
compile 'com.google.android.gms:play-services-vision:9.6.1'
You can use ZXing code for this.
Check out DecodeHandler.java.