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 picturescamera.picturesourcetype.photolibrary
orcamera.picturesourcetype.savedphotoalbum
allows user selected existing image
easy cake, documentation quite self explanatory.
Comments
Post a Comment