Processing Forum
With JAVA2D or no renderer at all it works...java.lang.NullPointerException
at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:461)
at processing.core.PImage.resize(Unknown Source)
at ketai.camera.KetaiCamera.determineCameraParameters(KetaiCamera.java:892)
at ketai.camera.KetaiCamera.start(KetaiCamera.java:423)
at processing.test.cameragettingstarted_new.CameraGettingStarted_new.mousePressed(CameraGettingStarted_new.java:67)
at processing.core.PApplet.handleMouseEvent(Unknown Source)
at processing.core.PApplet.dequeueEvents(Unknown Source)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.opengl.PGL$AndroidRenderer.onDrawFrame(Unknown Source)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1516)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
Exception caught while trying to connect to camera service. Please check your sketch permissions or that another application is not using the camera.