INNER CODE UNIT · Java
selectedOutputPath
prscX/react-native-photo-editor · android/src/main/java/com/ahmedadeltito/photoeditor/BaseActivity.java:139
selectedOutputPath = mediaStorageDir.getPath() + File.separator
+ "IMG_" + timeStamp + ".jpg";
Log.d("MediaAbstractActivity", "selected camera path "
+ selectedOutputPath);
mediaFile = new File(selectedOutputPath);
return Uri.fromFile(mediaFile);
} else {
return null;
}
}
protected boolean isSDCARDMounted() {
String status = Environment.getExternalStorageState();
return status.equals(Environment.MEDIA_MOUNTED);
}
// openGallery() method fires once user shows gallery option and GALLERY_INTENT_CALLED and GALLERY_KITKAT_INTENT_CALLED