In a Cordova App(XDK) I use ACS of Appcelerator - For Photo upload I use below code.
Problem: works OK in XDK ripple (needed press Upload button after hoose file) BUT: In real device As soon as choose file getting error and APP restarts… How set file chooser not to upload automatically but to press button and after? Is this the problem?
<div data-role="content">
<form id="photo_form" data-ajax="false">
<input type="file" name="photo_file" data-theme="b" id="photo_file" />
<input type="submit" value="Upload" data-theme="b">
</form>
</div>