Hi Guys,
Working on a HTML 5 web page for mobile devices (i.e. Android and iPhone) that simply displays an image that can be replaced with images stored on the local device by the user even when they're offline.
I want to avoid using phonegap etc as I don't want to have to distribute through various app stores (not looking to do this for money) so looking to do it all through "standard" web browser functionality (which means I need to use at least Android 2.2 so that I can get file upload button :) although there's still some question as to if that's working properly yet..)
Main problem keep encountering is one of browser security which prevents me from referring to a local file location.
Was looking to bypass the security issue by "uploading" the file via a form but diverting it straight into the "localstore" and store previously uploaded images in an array for re use and so that it will work when the user is offline.
Has anyone tried this? Is it possible or are most of the mobile browsers still not there yet?
Thanks.
regards,
H
ASKER
I can't see how it solves the image upload problem though? Am I missing something? How would the image stored locally get into the canvas in the first place when the user is offline?
regards,
H