I'm using Ludei CocoonJS to build my html5 Application.
I use HTML5 Media Capture (http://dev.w3.org/2009/dap/camera/) to acquire an image that I want to decode to have a qr code.
I'm using this tag to launch the camera default camera or upload a photo from device:
<input type='file' accept='image/*' onchange='picChange(event)'/>
It works on the web browser both on safari for Mac and on android firefox.
The problem is when I build my apk application using Ludei, when I tap it nothing happens. Same problem using CocoonJS Launcher on my android device.
I just asked that in the cocoonjs forums
Looks like Chrome blocks getUserMedia from resources loaded via file:// but that behaviour can be overridden by launching with --allow-file-access-from-files
Hopefully this is something the cocoonjs guys can achieve.
//Adam