RE: Media Capture API restructured

> For a device that has a camera onboard, this is how it works in our
> implementation:
>
> <input type="file">
>
> This triggers a file picker with all options available: gallery,
> camera, camcorder, microphone.
>
> <input type="file" accept="image/*">
>
> This triggers a file picker with only two choices: gallery, camera.
>
> <input type="file" accept="image/*;source="camera">
>
> This triggers the camera viewfinder directly. On Android, the
> viewfinder is fullscreen and doesn't have a button to switch to the
> gallery.
>

This seems reasonable and simple enough. Just one question, how would you select only files and no devices? 

Thanks
Dzung Tran

Received on Thursday, 8 July 2010 13:57:35 UTC