I have developed an application which captures a photo when punch in at the time. It\'s working good on Acer tab(capturing image and saves in sdcard). Now when I run the sam
private void flipBackToFrontCamera() {
if (mCamera != null) {
mCamera.stopPreview();
mCamera.release();
mCamera = null;
}
mCamera = Camera.open(1);
if (mCamera != null) {
try {
mCamera.setPreviewDisplay(surfaceView.getHolder());
mCamera.startPreview();
} catch (IOException e) {
e.printStackTrace();
}
}
}