I think you will have to write your own class to do the file browsing. Here is some code to get you started.
Code:
// return comma seperated list of folders or files
public String ListFoldersOrFiles(String srcdir, boolean getFolders)
{
String names = "";
try
{
FileConnection fconn = (FileConnection)Connector.open(srcdir);
Enumeration currentRootEnum = fconn.list("*", true);
while (currentRootEnum.hasMoreElements())
{
String name = currentRootEnum.nextElement().toString();
fconn = (FileConnection)Connector.open(srcdir + name);
if (getFolders && fconn.isDirectory())
names += name + ",";
else if (! getFolders && ! fconn.isDirectory())
names += name + ",";
}
fconn.close();
return names;
}
catch (IOException ioe)
{
return names;
}
} There is also a fileexplorerdemo in the JDE sample code.