ngonix 0 Light Poster

Hello, I have developed a phonegap hybrid application using HTML5 and jquery mobile but there is a certain area I'm facing challenges in. In my app I am using the tag <input type='file'> to upload images, which works fine when using a pc. But when I install the app on an android mobile device and use the file input type browse the photo gallery on the phone, and once I select a photo the application suddenly restarts.

So I am now wondering if phonegap supports the file input type. I have allowed all file and media permissions in the config.xml but to no avail. The phonegap version is 3.6.3

Is there any work around to this problem? Or do I have to use an alternative like the ajax file upload plugin? Any help would be greatly appreciated.

Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.