is there any possibility to include a Barcode scanner in a mobile web app without going native?
As a former Android developer I know how to integrate e.g ZXing in my native code and I also know that there are Barcode scanner plugins for Phonegap out there. They all have something in common: you need a Development Environment for each mobile platform AND you have to get your hands dirty with native development. Furthermore you cannot use PohneGap Build.
I am searching for a standalone HTML5 mobile app approach. More specific, I try to find a way to outsource the Barcode scanning from the native platform. An example: I can access the camera with HTML5 apps, so is there any web service out there which, for instance, receives Barcode pictures and returns the code?
Can anyone tell me if sth like that exists or is in progress?
Any helpful information appreciated!
First plug the USB barcode scanner to the female USB connector of an OTG adapter or a cable. Then plug the the micro-USB end of the OTG adapter or cable into the micro-USB port of your mobile device and wait for the system to recognize the scanner.
Your Android device can scan any barcode or QR code by using a free app from the Play Store. Once you've installed the barcode scanning app, your device's camera can be used as a scanner. You can then take different actions depending on the content contained in the barcode.
Barcode requires camera access. HTML5's WebCam API is still very new and it's not very widely supported on desktop browsers and much less on mobile browsers too. You can't depend on it being available.
After seeing your question, I have tested the Camera sample app in my HTC OneX. And, it worked only in Opera mobile browser. And I learnt that Opera is the only mobile browser that supports HTML5 camera extension.
You can also test visiting.
http://people.opera.com/danield/html5/explode/
I recommend to use interface framework like PhoneGap, if you really have the plan to make it native.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With