I'm playing with an example that tries to write a new NDEFMessage to a card. Everything works fine until the writeNDEF method on the NDEFTagConnection class is used. No reaction at all, the code snippet is as follows:
I went one step further and now I'm facing a new problem. A securityException is thrown with the message: "Required permission does not exist: Check JSI implementation"
On the sun webpage I found out that writing to NDEF requires an specific permission called: javax.microedition.contactless.ndef.NDEFTagConnection.write. The permission is added into the JAD and the application signed but still got the same error.
Does anyone know the right permission to use? Or there is a problem with the T80?
Well, it should not be necessary to use the OTA but, for instance, accessing to the secure element the midlet must to be signed and we got problems with the permits, but the midlet was successly installed through OTA. We are using a certificate from Verisign.
I have also tested this functionality in my side, the device reacts to the tag existing in the field but it doesn't executes the function to write in the tag. This MIDlet works in other devices. I will report this issue to BenQ.
By the way, what is the best approach to start playing around with secure elements and OTA services? I know quite well the theory but I haven't started with the practice.
If you install a signed MIDlet in the T80, no problem, but if you are configuring some NFC features in the .JAD, you will need the OTA server.
Don't worry, it starts with the user downloading the .JAD file, and then if the user agrees to download the .JAR, the URL is taken from the .JAD file. So it is easy to implement by oneself.
This is perhaps an unrelated question, however I would appreciate your help. I failed to find a page on the Toro website where ask for more information, so I'm using this forum.
Is there any more information about Toro products? detailed product description, a brochure, anything.