I\'m trying to delete images stored in internal storage. I\'ve come up with this so far:
File dir = getFilesDir(); File file = new File(dir, id+\".jpg\"); bo
Have you tried getFilesDir().getAbsolutePath()?
getFilesDir().getAbsolutePath()
Seems you fixed your problem by initializing the File object with a full path. I believe this would also do the trick.