Accesing external files in ME
I would like to read and write "external" files in a midlet. I mean, I want to be able to create a text file on a PC, transfer it to the phone, and read it (and vice versa).
I know there is JSR-75. I even found an example:
[Java Tips - How to Access Local File Systems from J2ME devices using FileConnection API|http://www.java-tips.org/java-me-tips/midp/how-to-access-local-file-systems-from-j2me-devices-using-fileconnectio-2.html]
It works on Netbeans, but it doesn't work in my phone. The midlet just present a white form and doesn't do anything.
I think the problem is with permissions. The example includes the following "In order to overcome security issues MIDlet needs to include requested file permission in its JAD file under MIDLet-Permission property."
I know how to edit the JAD file in Netbeans. My question is what is the value given to the property? Is there any other way to give permissions to the midlet in order to read and write files?
Edited by: King_Guanaco on Feb 16, 2010 8:08 AM
well... using a xml its very fine to implement diferent things
mabe to make a same app whit diferent theme
ex .. changing the xml to load diferents img
my question its... you can use a load function whit as3 on iphone ....for load a xml file??
lucky on the code!!!