Skip to content
This repository has been archived by the owner on Oct 4, 2018. It is now read-only.

Wezka Camera Issue in Android 6.0.1 #47

Open
Vishwa17 opened this issue Oct 7, 2016 · 3 comments
Open

Wezka Camera Issue in Android 6.0.1 #47

Vishwa17 opened this issue Oct 7, 2016 · 3 comments

Comments

@Vishwa17
Copy link

Vishwa17 commented Oct 7, 2016

Hi Team,

While capturing the image , the image is not displaying in the VIEW, I have the following Logcat
Please refer and let me know for more information.

10-07 07:04:42.010 5918 5918 W ExifInterface: Invalid image.

10-07 07:04:42.010 5918 5918 W ExifInterface: java.io.EOFException

10-07 07:04:42.010 5918 5918 W ExifInterface: at java.io.DataInputStream.readByte(DataInputStream.java:77)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.media.ExifInterface.getJpegAttributes(ExifInterface.java:1599)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.media.ExifInterface.loadAttributes(ExifInterface.java:1339)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.media.ExifInterface.(ExifInterface.java:1057)

10-07 07:04:42.010 5918 5918 W ExifInterface: at com.wezka.nativecamera.ExifHelper.createOutFile(ExifHelper.java:83)

10-07 07:04:42.010 5918 5918 W ExifInterface: at com.wezka.nativecamera.NativeCameraLauncher.onActivityResult(NativeCameraLauncher.java:435)

10-07 07:04:42.010 5918 5918 W ExifInterface: at org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)

10-07 07:04:42.010 5918 5918 W ExifInterface: at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:320)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.app.Activity.dispatchActivityResult(Activity.java:7137)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.app.ActivityThread.deliverResults(ActivityThread.java:4916)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.app.ActivityThread.handleSendResult(ActivityThread.java:4963)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.app.ActivityThread.access$1600(ActivityThread.java:221)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1848)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.os.Handler.dispatchMessage(Handler.java:102)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.os.Looper.loop(Looper.java:158)

10-07 07:04:42.010 5918 5918 W ExifInterface: at android.app.ActivityThread.main(ActivityThread.java:7224)

10-07 07:04:42.010 5918 5918 W ExifInterface: at java.lang.reflect.Method.invoke(Native Method)

10-07 07:04:42.010 5918 5918 W ExifInterface: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

10-07 07:04:42.010 5918 5918 W ExifInterface: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

10-07 07:04:42.010 5918 5918 I NativeCameraLauncher: Bitmap not compressed

10-07 07:04:42.010 5918 5918 W System.err: java.io.EOFException

10-07 07:04:42.010 5918 5918 W System.err: at java.io.DataInputStream.readByte(DataInputStream.java:77)

10-07 07:04:42.010 5918 5918 W System.err: at android.media.ExifInterface.saveJpegAttributes(ExifInterface.java:1730)

10-07 07:04:42.010 5918 5918 W System.err: at android.media.ExifInterface.saveAttributes(ExifInterface.java:1388)

10-07 07:04:42.010 5918 5918 W System.err: at com.wezka.nativecamera.ExifHelper.writeExifData(ExifHelper.java:180)

10-07 07:04:42.010 5918 5918 W System.err: at com.wezka.nativecamera.NativeCameraLauncher.onActivityResult(NativeCameraLauncher.java:436)

10-07 07:04:42.010 5918 5918 W System.err: at org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120)

10-07 07:04:42.010 5918 5918 W System.err: at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:320)

10-07 07:04:42.010 5918 5918 W System.err: at android.app.Activity.dispatchActivityResult(Activity.java:7137)

10-07 07:04:42.010 5918 5918 W System.err: at android.app.ActivityThread.deliverResults(ActivityThread.java:4916)

10-07 07:04:42.010 5918 5918 W System.err: at android.app.ActivityThread.handleSendResult(ActivityThread.java:4963)

10-07 07:04:42.010 5918 5918 W System.err: at android.app.ActivityThread.access$1600(ActivityThread.java:221)

10-07 07:04:42.010 5918 5918 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1848)

10-07 07:04:42.010 5918 5918 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)

10-07 07:04:42.010 5918 5918 W System.err: at android.os.Looper.loop(Looper.java:158)

10-07 07:04:42.010 5918 5918 W System.err: at android.app.ActivityThread.main(ActivityThread.java:7224)

10-07 07:04:42.010 5918 5918 W System.err: at java.lang.reflect.Method.invoke(Native Method)

10-07 07:04:42.010 5918 5918 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

10-07 07:04:42.010 5918 5918 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

10-07 07:04:42.010 5918 5918 I NativeCameraLauncher: failPicture:Error compressing image

@Vishwa17 Vishwa17 changed the title Wezka Camera Issue in Android 6.0.0 Wezka Camera Issue in Android 6.0.1 Oct 7, 2016
@yaashvisoftware
Copy link

Facing the same issue in Android 6.0.1.

@Vishwa17
Copy link
Author

Vishwa17 commented Apr 4, 2017

I have solve this issue

@craftpip
Copy link

craftpip commented Jun 9, 2017

@Vishwa17 How did you fix it? please provide some answer to others who face it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants