Hi,
I have a set of RFID Mifare 1k Tags and a Nokia 6131 NFC v3.12.
I am writing a test MIDlet to verify that Tag detection works.
So far I have been able to register a TargetListener on a RFID_TAG and this works great:
DiscoveryManager.getInstance().addTargetListener(this,
TargetType.RFID_TAG);
On the other hand, I am trying to register a PushRegsitry entry, either statically via the JAD file or Dynamically via the PushRegistry API and none of these work when I present the phone to the TAG.
The code registering the TAG detection in my MIDlet is:
PushRegistry
.registerConnection("ndef:rtd?name=urn:nfc:wkt:RFID_TAG",
"test.NFCMidlet", "nfc:ndef;type=mf1k;uid=*");
Even by replacing "nfc:ndef;type=mf1k;uid=*" with "*", it does not work. The phone does not complain during PushRegistry connection registration but does not do anything when I quit the application and present the device to the TAG.
I have gone through some examples and various threads in this forum, but neither helped.
Thanks for any help
Olivier

Reply With Quote

