hello everyone Let me just ask one question, if I may. When I use android ,I find my android apk(just like use surfaceView to preView camera) can't catch UDOO's camera. Could anyone tell me how to Solve the problem. Thank you for your reading.
try this code public void onSurfaceTextureAvailable1(SurfaceTexture surfaceTexture) { info = new Camera.CameraInfo(); int i=0; mCamera = Camera.open(i); } You need to declare this variables private Camera mCamera; private Camera.CameraInfo info; and import this import android.hardware.Camera;
yo tengo el mismo problema no se habre la camara utilizando el surface y no se cual sera el problema.... gracias