- From: Tran, Dzung D <dzung.d.tran@intel.com>
- Date: Thu, 8 Jul 2010 06:56:53 -0700
- To: Andrei Popescu <andreip@google.com>, Ilkka Oksanen <Ilkka.Oksanen@nokia.com>
- CC: Rich Tibbett <rich.tibbett@gmail.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
> 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