Hey guys
I need the user to save a few settings for my app. What is the best way to approach something like this? Would writing to a file like this in a specific format be efficent enough or is there a better way?
This is what I was thinking of using:
FileConnection sc = (FileConnection)Connector.open("file:///phone/app.txt");
OutputStream os = sc.openOutputStream();
os.write(("text to go into the file").getBytes());
os.flush();
os.close();
Thanks for any help or feedback

Reply With Quote

