List of utility methods to do Photo Take
boolean | takePhoto(final Activity activity, final String dir, final String filename, final int cmd) take Photo filePath = dir + filename; final Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); final File cameraDir = new File(dir); if (!cameraDir.exists()) { return false; final File file = new File(filePath); final Uri outputFileUri = Uri.fromFile(file); ... |