I went to the url on my android phone with it's Mercury browser but nothing
happens when I touch Choose File
 

  _____  

From: [email protected] [mailto:[email protected]]
On Behalf Of Craig van Nieuwkerk
Sent: Thursday, 22 October 2015 10:24 AM
To: ozDotNet
Subject: Re: Mobile device photos


Basically all it does it bring up the camera where you can take a photo.
Then when you do a form POST it will be submitted like a normal
input[type=file]. It even displays a little preview of the photo next to the
input. 

Open this on your phone https://jsfiddle.net/wkwq6kLz/


Craig

On Thu, Oct 22, 2015 at 10:12 AM, Greg Keogh <[email protected]> wrote:




I have done this before. 

<input type="file" id="File" name="File" accept="image/*;capture=camera">


This will basically work like a standard file upload input but will use the
camera to select the file.


Goog grief! That's like black magic. So you click the button rendered next
to the <input> control and what happens?

In my case it looks like the initial devices in the field will be iPads.
I'll read up on the expanded <input> element and make a test page and try it
on the weekend.


Greg



Reply via email to