You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/12/09 09:09:03 UTC

[GitHub] [cordova-plugin-camera] DONGNEZHA commented on issue #819: Does this plugin support cordova-android@9.x.x and above?

DONGNEZHA commented on issue #819:
URL: https://github.com/apache/cordova-plugin-camera/issues/819#issuecomment-1344039096

   I am using cordova-android@9.x.x but I am prompted with "Failed because:  Class not found".
   ```
   navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
       destinationType: Camera.DestinationType.FILE_URI });
   
   function onSuccess(imageURI) {
       var image = document.getElementById('myImage');
       image.src = imageURI;
   }
   
   function onFail(message) {
       alert('Failed because: ' + message);
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org