how can read and write text file.
i using this code -
try
{
String connectionString = "file:////prova.txt";
FileConnection filecon = (FileConnection) Connector.open(connectionString, Connector.WRITE);
filecon.close();
} catch (Exception e) {
}
but it give Warning:
To avoid potential deadlock, operations that may block, such as
networking, should be performed in a different thread than the
commandAction() handler.
