Phonegap Image Upload works only once
问题 my app needs to upload photos to a server. This works great when uploading the first captured photo. When I capture another photo, the upload fails. Here is my code: // Upload files to server function uploadFile(mediaFile) { $.mobile.loading( 'show' ); var path = mediaFile; alert(path); var options = new FileUploadOptions(); options.mimeType="image/jpeg"; var params = new Object(); params.fullpath = path; params.eventID = eventID; options.params = params; options.chunkedMode = true; var ft =