problem with ketai camera on galaxy tab2
in
Android Processing
•
8 months ago
Hi everyone ,
I was used to work on Galaxy phone with the ketai library and everythings worked fine.
Now on the galaxyTab, I've got this error msg when I try to have access to the camera:
java.lang.RuntimeException: Method called after release()
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1464)
at ketai.camera.KetaiCamera.start(KetaiCamera.java:349)
at processing.test.cameragettingstarted.CameraGettingStarted.mousePressed(CameraGettingStarted.java:69)
at processing.core.PApplet.handleMotionEvent(Unknown Source)
at processing.core.PApplet.dequeueMotionEvents(Unknown Source)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:856)
Exception caught while trying to connect to camera service. Please check your sketch permissions or that another application is not using the camera.
All the permission on the xml file are ok. Does someone have the same trouble? Someone have a solution
to get camera on a Galaxy tab?
Thanks a lot !
I was used to work on Galaxy phone with the ketai library and everythings worked fine.
Now on the galaxyTab, I've got this error msg when I try to have access to the camera:
java.lang.RuntimeException: Method called after release()
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:1464)
at ketai.camera.KetaiCamera.start(KetaiCamera.java:349)
at processing.test.cameragettingstarted.CameraGettingStarted.mousePressed(CameraGettingStarted.java:69)
at processing.core.PApplet.handleMotionEvent(Unknown Source)
at processing.core.PApplet.dequeueMotionEvents(Unknown Source)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:856)
Exception caught while trying to connect to camera service. Please check your sketch permissions or that another application is not using the camera.
All the permission on the xml file are ok. Does someone have the same trouble? Someone have a solution
to get camera on a Galaxy tab?
Thanks a lot !
1