I have made me the way you specified with the following code:
Code:
String url = "file: / / localhost / test.txt"; FileConnection fconn = (FileConnection)Connector.open(url, Connector.READ_WRITE);
I add the two permissions:
Code:
javax.microedition.io.Connector.file.write
javax.microedition.io.Connector.file.read
It does not work. By cons when I put the following path:
Code:
String path = System.getProperty("fileconn.dir.photos");
it returns me the path: file: / / / My Pictures / and it works. But as I explained in my first post, I want to give my own way and I can not.
Bookmarks