- From: Tran, Dzung D <dzung.d.tran@intel.com>
- Date: Fri, 9 Jul 2010 20:37:34 -0700
- To: Andrei Popescu <andreip@google.com>
- CC: Ilkka Oksanen <Ilkka.Oksanen@nokia.com>, Rich Tibbett <rich.tibbett@gmail.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
Andrei, > -----Original Message----- > From: Andrei Popescu [mailto:andreip@google.com] > Sent: Friday, July 09, 2010 04:59 AM > To: Tran, Dzung D > Cc: Ilkka Oksanen; Rich Tibbett; public-device-apis@w3.org > Subject: Re: Media Capture API restructured > > On Thu, Jul 8, 2010 at 2:56 PM, Tran, Dzung D <dzung.d.tran@intel.com> wrote: >> >>> 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? >> > > "source=filesystem" ? Would that sound reasonable? source="filesystem" would work Thanks Dzung Tran
Received on Saturday, 10 July 2010 03:38:13 UTC