I am searching through the folders inside the DCIM folder on the android device
how do I get the folder id's that they are in ?
for example, if I have Camera folder, Picasa folder and other folders
I need this folder's ID
how do I get it ?
I am searching through the folders inside the DCIM folder on the android device
how do I get the folder id's that they are in ?
for example, if I have Camera folder, Picasa folder and other folders
I need this folder's ID
how do I get it ?
I'm assuming you're using the
File
class fromjava.lang.Object
to do this?If so, you can get the file's name using
getName()
and the absolute path usinggetAbsolutePath()
.For more info, check out http://android-er.blogspot.in/2012/07/example-of-file-explorer-in-android.html and http://docs.oracle.com/javase/7/docs/api/java/io/File.html