Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when try to capture image in Note 4 #95

Open
amiraelsayed opened this issue Mar 22, 2016 · 2 comments
Open

Crash when try to capture image in Note 4 #95

amiraelsayed opened this issue Mar 22, 2016 · 2 comments

Comments

@amiraelsayed
Copy link

I have the following crash while trying to capture image in some devices like Samsung note 4

java.lang.IllegalStateException: Preview mode must have started before you can take a picture at com.commonsware.cwac.camera.CameraView.takePicture(CameraView.java:331) at com.commonsware.cwac.camera.CameraFragment.takePicture(CameraFragment.java:162) at nl.changer.polypicker.CwacCameraFragment.takePicture(CwacCameraFragment.java:141) at nl.changer.polypicker.CwacCameraFragment$DemoCameraHost.onAutoFocus(CwacCameraFragment.java:284) at com.commonsware.cwac.camera.CameraView.onAutoFocus(CameraView.java:413) at android.hardware.Camera$EventHandler.handleMessage(Camera.java:1200) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6872) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

can any one help me please ?

@sajalsd
Copy link

sajalsd commented Jun 2, 2016

I am also fetching the same issue.

@msain51s
Copy link

msain51s commented Feb 7, 2018

Even i am also facing the same issue.please do something for this

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

No branches or pull requests

3 participants