I am making an app which can be run in a Browser, Android and iOS. The image uploading works fine using the Ti.Media.openPhotoGallery() but it gives me an error that the function is undefined when I try to do it on a Browser running on a Desktop machine for example Safari or Chrome. Is there a workaround for this or anyway this can be done on a Desktop Browser?
One is to build a image upload form in HTML5 and then load that in a webview. But that is not a very good workaround. Is there any solid workaround for this.
My SDK is 3.5.1 tried on 4.0 as well.
Thank you.