I have already posted some links on some introduction to FileConnection. Please check this link
http://discussion.forum.nokia.com/fo...14&postcount=3
In which phone are you trying? Please note that you cannot access all folders of the device from a Java app.
The FileSystemRegistry has the static method listRoots() to list the available and supported mounted roots on the device. The list is returned as an Enumeration :
Code:
Enumeration e = FileSystemRegistry.listRoots();
while (e.hasMoreElements()) {
String rootName = (String)e.nextElement();
System.out.println("mounted root:"+rootName);
}
Hope this helps!
Regards
Gopal