the problem now is the next:
when trying to create a file the application stops, freeze in the part when asking for permissions...
try{
FileConnection fc = (FileConnection)Connector.open("file:///" + actualdir + textField1.getString(), Connector.WRITE);
fc.create();
fc.close();
}
catch (Exception ex){
}
Creating a new file, opening it and writing the text into the file have been explained in the following link. I think it could be useful. It works well. I have tried it out.
http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_jsr75_accessing_pim_fileconnectionapi.jsp