String fileNameContentPath = rawFileNamePath.substring(0, rawFileNamePath.indexOf(":"));
String fileNameFinalPath = rawFileNamePath.substring(rawFileNamePath.indexOf(":") + 1);
String fileNameContentPath = rawFileNamePath.substring(0, rawFileNamePath.indexOf(":"));
String fileNameFinalPath = rawFileNamePath.substring(rawFileNamePath.indexOf(":") + 1);
if (fileNameFinalPath.startsWith("/storage/emulated/")) { // The existing file name final path is a complete, valid path.
// Use the provided file name path as is.
fileNamePath = fileNameFinalPath;
if (fileNameFinalPath.startsWith("/storage/emulated/")) { // The existing file name final path is a complete, valid path.
// Use the provided file name path as is.
fileNamePath = fileNameFinalPath;