Hi. I'm trying to create a txt file, but when I run my application on the emulator it throws this IOexception: "java.io.IOException #582".
I´m using nokia s60 2nd Ed FP2 emulator.
Here is my code:
Code:public void createFolder() { try { FileConnection filecon = (FileConnection) Connector.open("file:///C:/Nokia/Datos"); if (!filecon.exists()) { System.out.println("makedir"); filecon.mkdir(); } filecon.close(); } catch (IOException ioe) { System.out.println(ioe.getMessage()); } }
The exception appears on the red coloured text.
Please help me!
TIA

Reply With Quote


