import javax.microedition.midlet.*; import javax.microedition.io.Connector; import javax.microedition.io.file.*; import java.io.*; import javax.microedition.lcdui.*; import java.util.Enumeration; public class Main extends MIDlet { private Display display; private Form form; public Main() { display=Display.getDisplay(this); form=new Form("Список файлов в директории"); } public void startApp() { try { FileConnection fileConnection=(FileConnection)Connector.open("file:///others/"); Enumeration listFiles=fileConnection.list(); for(int p=0;p