Choose image from photo album in Cordova windows phone 8.1 -


can please let me know how choose image photo album , file-uri or base-64 delivered thru call back.

i able take picture camera facing problem while picking image photoalbum. using below code choose image right after choosing image app navigates home screen(index.html) giving warning on console "the code on page disabled , forward caching. more information, see: http://go.microsoft.com/fwlink/?linkid=291337".

navigator.camera.getpicture(onsuccess, onfail,                                      {                                          quality: 50,                                          destinationtype: camera.destinationtype.file_uri,                                          mediatype: camera.mediatype.picture,                                          sourcetype: camera.picturesourcetype = {                                              photolibrary: 1,                                              camera: 0,                                              savedphotoalbum: 2                                          },                                          mediatype: camera.mediatype = {                                              picture: 1,    // allow selection of still pictures only. default. return format specified via destinationtype                                              video: 0,      // allow selection of video only, return file_uri                                              allmedia: 2   // allow selection media types                                          },                                          allowedit: 1,                                          width: compratio,                                          height: compratio                                      }); 


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -