Search code examples
androidiphonehtmlphoto-upload

HTML5 web app to upload images to server


Is it possible to create an HTML5 application/website for mobile(android, Iphones, IPad) which will allow user to upload pictures from their mobile to server?

I am not looking for pure app, it could be a website hosted on any server.

Though, I am looking for my ASP.NET application but I believe that if I get solution for HTML, that would also be fine because I heard that mobile safari doesn't support upload in IPhone


Solution

  • There is such a thing as an HTML5 File API, but, no, this is not possible on most mobile devices (and not possible in some desktop environments, including IE, either).

    Android allows this in the most recent iteration (3.0), but the Safari browser in iOS doesn't have access to any filesystem from which to pull assets. For example, consider that you can't even add an image to an email except from the Camera/Library application itself.

    Check out caniuse.com for a full picture of compatibility.