private void startCamera(){
  Intent takePictureIntent=new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
  takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT,Uri.fromFile(new File(mCameraFile)));
  startActivityForResult(takePictureIntent,CAMERA_REQUEST_CODE);
}

private void startCamera ( ) { Intent takePictureIntent = new Intent ( MediaStore . ACTION_IMAGE_CAPTURE ) ; takePictureIntent . putExtra ( MediaStore . EXTRA_OUTPUT , Uri . fromFile ( new File ( mCameraFile ) ) ) ; startActivityForResult ( takePictureIntent , CAMERA_REQUEST_CODE ) ; }
starts built - in camera intent for taking scan images .
