upload file in kendo ui mobile application using cordova -


how browse , upload file in kendo ui mobile application using cordova. if done before please me achieve upload file. upload should work in both android , ios platform.

the cordova plugin api documentation great resource samples. recently, of cordova v3.5.0 documented on page. of v3.5.0 , higher documentation , samples maintained on github.

to answer question, can use cordova camera plugin both taking picture and/or retrieve

// using cordova camera plugin navigator.camera.getpicture(onsuccess, onfail, {      quality: 50,     destinationtype: camera.destinationtype.file_uri      sourcetype: camera.picturesourcetype.xxx }); 

notice camera.picturesourcetype can 1 of following:

  • camera.picturesourcetype.camera allows user take new pictures
  • camera.picturesourcetype.photolibrary or camera.picturesourcetype.savedphotoalbum allows user selected existing image

easy cake, documentation quite self explanatory.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -