Reputation: 29
I would like create a app that use Scanner Barcode QR in Webview of Android. It's posible?
I've been looking around here and found nothing related to this topic :(
Thanks all!
Upvotes: 0
Views: 2070
Reputation:
QR Code require Camera access to capture photo and process QR Code, Web / HTML can't access hardware of mobile, so It's not possible to create such application, but there are two possible workaround
Create QR Scanning module in Native Android and use JavaScript Interface to bridge between your web and native, For more detail please visit following link http://developer.android.com/guide/webapps/overview.html
As "Webaldo.at" suggest, detect html element when user click in web view and open any 3rd party QR Scanner app
Upvotes: 1