I have been using the 6212 emulator (i am waiting on a data cable to arrive to try the real phone) and have developed a few test MIDlets to read tags etc...
I wish to store data in either the secure element or the internal mifare area. Am i right in saying i can either develop a Java Card Applet to live on the SE (and no such apps come with it by default?) which my MIDlet can talk to, or the alternative is to store data directly via my MIDlet to the mifare? What are the advantages/disadvantages of storing data in either SE or midfare?
I am fairly new to NFC and the SE part of this, and i have spent a good few days solid reading documentation and SDKs and basically everything i can get my hands on, but i am struggling to even store a simple amount of data.
I have tried the code below, which on the emulator, throws an exception saying "java.io.IOException: Connection error: secure element off".
How do i access the internal mifare tag and read/write data?
String internalUrl = System.getProperty("internal.mf.url"); // this returns nfc:rf;type=mf;mode=internal
MFStandardConnection conn = (MFStandardConnection) Connector.open(internalUrl); // this throws the IOException
Thanks in advance!!