I've tried in my android application to take pictures without using native camera application.I want to save the captured picture in a separate folder.I get the byte array of the image from onPictureTaken(). I want to save this picture into a separate folder with a file name.How's it possible. My code snippet is as follows:
mCamera.mCameraInstance.takePicture(null, null,
new Camera.PictureCallback() {
@Override
public void onPictureTaken(byte[] data, final Camera camera) {
byte[] capturedBytes=data;
}