"getUserMedia()" is not supported by all browsers but it works with Chrome and Opera (but not FF) on Android when I tested it.
It seems to be an issue with auto-focus though, a few devices like HTC seem to work but most seem not to work. ref, ref
Example of barcode-libary that uses getUserMedia():