I am having problems writing the virtual tags using 6131 NFC SDK 1.1. I am using the NDEFConnection object and the writeNDEF(msg) method. I basically open the connection, write the data and close the connection each time I write.
The problem I found is that most of the time tag data seems to be written correctly (no IOException), and I am also able to read data I write but no data is written on the .dat file.
So if I restart my midlet without closing the emulator I am able to read successfully data, but if I close the emulator I lose my data. Strange thing is that sometimes data are stored... and sometimes only buffered. Can someone provide some help?
How does the storing work? Is this a bug or I am missing something?