简体   繁体   中英

list directories and files without using the java.io package

I'm trying to list all the directories and files on windows mobile but I can't use the java.io package because it's not supported. Does anyone have an idea if there is some other package I can use.

Thanks for the help.

Dim

您可以在Win Mobile上调用cmd.exe之类的东西吗?

Runtime.getRuntime().exec("cmd.exe dir")

If you can use an external Java API, I highly recommend EntityFS . It's an object oriented file system API for Java.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM