Android Getabsolutepath() Not Returning Full Path
I create a file and save an image to it using the following code: private File createImageFile() throws IOException { String timeStamp = new SimpleDateFormat('yyMMdd_HHmmss
Solution 1:
The actual path of the image is
You may have a file there, but that is not the File
that you are setting up in the code. Try getExternalFilesDir(null)
instead of getFilesDir()
.
Post a Comment for "Android Getabsolutepath() Not Returning Full Path"