Only eight days after the Final Release of the Contactless Communication API, (JSR 257) Nokia has released their Reference Implementation SDK.

The indicator 'Reference Implementation' means that it "supports the mandatory features of the JSR-257 specification". The package is based on the Nokia Prototype SDK 3.0, and comes with a Series 40 emulator that is able to simulate various NFC tags.
NFC Forum compliant
The Java API specs look promising. Since the Nokia 6131 NFC supports the JSR 257 out-of-the-box, you could use this SDK with even your own 6131 phone to create NFC MIDlets! And even better, JSR 257 is compliant with the specs from the NFC Forum - which means your applications will be able to interoperate with every other NFC device that was made after the specs were released.
With this implementation, you also won't be needing the special NFC Shell or the SDK for Payment and Ticketing anymore, as was with the Nokia 3220. Any homegrown or business developer could buy him or herself a 6131 NFC, download this SDK, and start developing. This will increase even more when the Sun Wireless Toolkit will incorporate this into their standard package.
Classes at a glance
When we take a look at the available classes in this API, a few classes are of note:
- ISO14443Connection: "defines access to the ISO 14443-4 compliant contactless smart card."
- TargetListener: "provides a mechanism for the application to be notified, when contactless targets are discovered by the device hardware."
- NDEFTagConnection: "defines the basic functionality for exchanging NFC Forum formatted data with RFID tags and contactless smart cards."
Sample applications
The JSR-257 RI comes with three sample applications:
- Contactless: Demonstrates reading and writing to NFC tags
- Barcode: An application that demonstrates barcode decoding
- NDEF: Sample application that can create different types of NDEF records and messages
Download
Get the stuff from here:
You'll need to have a Forum Nokia account before you can download this ZIP file.
Some background information:
14 comments:
Hi Daniel,
Do you know if new NOKIA 6131 is using a JAVA CARD like 3220 and if we can upload Applet using JCOP tools to the cover ?
Regards
Hi Thomas,
Yes you can. The Java card is very fast and must first be enabled by the user before it can be operated.
Daniel
Hi Daniel,
I would like to access the internal MiFare card (in Secure Card emulated) either from MIDlet or from Secure Card Applet in 6131. How is it possible?
Kind reagards,
Yalcin
Hi Yalcin,
Let me come back on that one and write you an article on that.
Best regards,
Daniel
Hi Daniel,
is it possible to use the NOKIA 6131 as EAN-barcode reader ?
Hi Mike,
With this SDK, which is now outdated by the newer 6131 NFC SDK 1.0, you can't.
Br, Daniel
Hi Daniel,
Can i use NFC for printing through Nokia 6131? If yes, do printer device also needs to support NFC ?
Ashutosh,
Yes, you can, although the printer has to support NFC, and there aren't yet many printers that do.
One is demonstrated right here:
http://www.nfc-development.org/2007/01/nokia-6131-nfc-showed-off-at-ces.html
I expect mass production NFC printers to already be in development and coming the moment all the Joneses have their latest Touchphones.
-- Daniel
Hi Daniel, in answering Mike above you stated that the 6131 cannot be used asd a barcode scanner/decoder -am I correct in assuming that this is a limitation of the application level programming of this handset as the JSR257 has barcode support and above you say the SDK comes with three apps -one of which is a barcode decoder...
Regards, Nick Outram [Sopra UK].
My article on barcode usage/visual NFC if anyone is interested:
http://www.eurocomms.com/features/11907/Mobile_interactions.html
Hi Nick,
Thanks for commenting.
I'm afraid I made a mistake in my previous post. I said no to the 3220 having barcode support, not the 6131.
BR, Daniel
Daniel,
OK I havn't actually tested the 6131 to verify barcode support yet but I'm going to try and get my hands on one. There was a lot of legal 'ergy-bargy' concerning various supposed patents that Neomedia had in the US. Do you know anything about whether this has been cleared up or not?
Nick.
Hi Daniel,
How can I use my NFC 6131 as Java Card. I presume that when the phone is switched off, it acts as a Java card. Is this correct?? Or do I need to set any setting in phone to enable Java Card so that I can install some Applet on it??
Please help me...
Thanks
The 6131's Java Card is completely separate from the phone. You don't even need to have a battery inserted for it to work!
- The phone will always act as a Java Card, regardless of being on or off.
- This is why you cannot make any settings whatsoever on the phone's internal menu.
- If you want to install a GlobalPlatform Applet (which is different from a Java Applet) you'll need a card reader and some software that will help you do that. Eclipse with the JCOP tools plugin for instance.
Please keep me posted on your progress. I'll be happy to assist you further if needed.
Br, Daniel
Are the 6131/3220 the only nokia phone models supporting NFC? If not, does anyone know where I can get a full list of all Nokia models that support NFC?
Thanks Omar
Post a Comment