You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Otmorskiy (JIRA)" <ji...@apache.org> on 2017/07/18 05:34:00 UTC

[jira] [Created] (CB-13029) Can't take photo on LG-K100ds

Sergey Otmorskiy created CB-13029:
-------------------------------------

             Summary: Can't take photo on LG-K100ds
                 Key: CB-13029
                 URL: https://issues.apache.org/jira/browse/CB-13029
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-camera
    Affects Versions: 2.4.0
            Reporter: Sergey Otmorskiy


Calling getPicture with
{
    destinationType: window.Camera.DestinationType.FILE_URI,
    sourceType: window.Camera.PictureSourceType.CAMERA,
    mediaType: window.Camera.MediaType.ALLMEDIA
}
And it calls error callback with "Error capturing image", there is a stacktrace in android logs

07-18 08:28:00.417: W/System.err(6441): java.io.IOException: ExifInterface only supports saving attributes on JPEG formats.
07-18 08:28:00.418: W/System.err(6441): 	at android.media.ExifInterface.saveAttributes(ExifInterface.java:1412)
07-18 08:28:00.418: W/System.err(6441): 	at org.apache.cordova.camera.ExifHelper.writeExifData(ExifHelper.java:163)
07-18 08:28:00.418: W/System.err(6441): 	at org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:584)
07-18 08:28:00.418: W/System.err(6441): 	at org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:806)
07-18 08:28:00.418: W/System.err(6441): 	at org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:151)
07-18 08:28:00.418: W/System.err(6441): 	at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:348)
07-18 08:28:00.418: W/System.err(6441): 	at android.app.Activity.dispatchActivityResult(Activity.java:6470)
07-18 08:28:00.418: W/System.err(6441): 	at android.app.ActivityThread.deliverResults(ActivityThread.java:3788)
07-18 08:28:00.418: W/System.err(6441): 	at android.app.ActivityThread.handleSendResult(ActivityThread.java:3835)
07-18 08:28:00.418: W/System.err(6441): 	at android.app.ActivityThread.access$1400(ActivityThread.java:163)
07-18 08:28:00.419: W/System.err(6441): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1411)
07-18 08:28:00.419: W/System.err(6441): 	at android.os.Handler.dispatchMessage(Handler.java:102)
07-18 08:28:00.419: W/System.err(6441): 	at android.os.Looper.loop(Looper.java:148)
07-18 08:28:00.419: W/System.err(6441): 	at android.app.ActivityThread.main(ActivityThread.java:5585)
07-18 08:28:00.419: W/System.err(6441): 	at java.lang.reflect.Method.invoke(Native Method)
07-18 08:28:00.419: W/System.err(6441): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
07-18 08:28:00.419: W/System.err(6441): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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