cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cordova-plugin-camera] jasonsultana opened a new issue #587: Getting error taking a photo
Date Thu, 23 Apr 2020 11:27:24 GMT

jasonsultana opened a new issue #587:
URL: https://github.com/apache/cordova-plugin-camera/issues/587


   04-23 11:20:51.740  2495  2495 W System.err: java.io.IOException: ExifInterface only supports
saving attributes on JPEG formats.
   04-23 11:20:51.740  2495  2495 W System.err:    at android.media.ExifInterface.saveAttributes(ExifInterface.java:1770)
   04-23 11:20:51.740  2495  2495 W System.err:    at org.apache.cordova.camera.ExifHelper.writeExifData(ExifHelper.java:163)
   04-23 11:20:51.740  2495  2495 W System.err:    at org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:586)
   04-23 11:20:51.740  2495  2495 W System.err:    at org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:808)
   04-23 11:20:51.740  2495  2495 W System.err:    at org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:159)
   04-23 11:20:51.740  2495  2495 W System.err:    at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:359)
   04-23 11:20:51.740  2495  2495 W System.err:    at android.app.Activity.dispatchActivityResult(Activity.java:7235)
   04-23 11:20:51.740  2495  2495 W System.err:    at android.app.ActivityThread.deliverResults(ActivityThread.java:4320)
   04-23 11:20:51.740  2495  2495 W System.err:    at android.app.ActivityThread.handleSendResult(ActivityThread.java:4367)
   04-23 11:20:51.740  2495  2495 W System.err:    at android.app.ActivityThread.-wrap19(Unknown
Source:0)
   04-23 11:20:51.740  2495  2495 W System.err:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1649)
   04-23 11:20:51.740  2495  2495 W System.err:    at android.os.Handler.dispatchMessage(Handler.java:105)
   04-23 11:20:51.740  2495  2495 W System.err:    at android.os.Looper.loop(Looper.java:164)
   04-23 11:20:51.740  2495  2495 W System.err:    at android.app.ActivityThread.main(ActivityThread.java:6541)
   04-23 11:20:51.741  2495  2495 W System.err:    at java.lang.reflect.Method.invoke(Native
Method)
   04-23 11:20:51.741  2495  2495 W System.err:    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
   04-23 11:20:51.741  2495  2495 W System.err:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
   
   
   `navigator.camera.getPicture( cameraSuccess, cameraError, {
                   quality: 50,
                   destinationType: Camera.DestinationType.FILE_URI,
                   correctOrientation: true,
                   saveToPhotoAlbum: true
     });`
   
   Any advice is much appreciated. Thanks!


----------------------------------------------------------------
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.

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


Mime
View raw message