Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.
Register LoginInnovation Series Videos highlighting Forum Nokia developers
Nokia releases new Qt developer offerings
Forum Nokia Developer Conference, India
Optimise your website for mobile devices with mobile web templates and layouts
Zoom and Rotate Gestures in FlashLite for touch-enabled devices
Jackson Feijó
Read more about Jackson on the Champions website.
Nokia Developer Days in South Africa
December 01, 2009
Johannesburg, South Africa
Forum Nokia Developer Conference ’09, India
December 07, 2009
Bangalore, India
LeWeb
December 09, 2009
Paris
Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9am New York | 2pm London | 4pm Helsinki
Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9:30am New Delhi, noon Beijing
Near Field Communication (NFC) is a short-range wireless technology that allows communications to take place between devices that either touch or are momentarily held close together. NFC technology offers tremendous potential, not only because it can be rolled out for mass adoption, but because of the number of different ways it can be used to make life easier.
The technology works via magnetic field induction and operates on an unlicensed radio frequency band. “Tags” are embedded within devices — for example, mobile devices such as mobile phones or PDAs, or NFC stations such as ticket barriers or cash registers. Devices that are held together can then share information either in one direction or both directions.
NFC is based on Radio Frequency Identification (RFID) technology, which is compatible with most of the contactless transportation and ticketing solutions that are commonly used around the world to enable quick and smooth flow of people within public transportation systems or ticketed environments. NFC is an open-platform technology, and it was approved as an ISO/IEC global standard in December 2003.
The Nokia 6131 NFC mobile device, the first Nokia mobile phone with integrated NFC functionality, is used as a reference throughout this guide.
This guide divides NFC application development into three different methods that can be used in different combinations for creating applications for the Nokia 6131 NFC:
Using native NFC functionality does not require any programming experience. If you are interested in developing MIDlets using NFC features, you should have a certain level of Java ME programming experience. When developing Java Card applications for a secure element, a certain level of Java Card programming experience is also required. Without prior Java experience or, at worst, any other programming language experience, you should consider basic Java training first.
Unless you have already created NFC applications, you should get an overview of the technology by reading the introduction to the NFC technology and the Nokia 6131 NFC Technical Product Description.
There are loads of resources available to start with, and it is possible to follow a variety of alternative paths, based on personal preference. If you don’t feel ready to proceed with the tools yet, but prefer to continue scanning through the NFC material before jumping into actual development, you may wish to take a look at the NFC Wiki and NFC Discussion Board, or consider participating in Nokia NFC-related events. However, the idea is to produce something simple and concrete, quickly — in other words, you should make a quick start and then study NFC application development in more detail.
Prerequisite: Nokia 6131 NFC mobile device and compatible NFC tag
1. Creating contact information to the phone:
2. Writing it to the NFC tag:
This contact information can now be shared with friends. They can touch the NFC tag with their Nokia 6131 NFC to receive this contact information into their mobile phones.
To create MIDlets using NFC features, download and install the software development kit (SDK) for Nokia 6131 NFC. The SDK contains development tools for creating MIDlets for the Nokia 6131 NFC: Java libraries, example MIDlets, documentation, and a Nokia 6131 NFC MIDP emulator to test the MIDlets on a PC.
At this point, you do not need to program anything yet, just run an example MIDlet located in the examples folder in the SDK installation directory:
You can now start to experiment with what you can do with the Nokia 6131 NFC native NFC functionality. For example, what about writing an NFC tag containing a friend’s phone number, enabling an automatic call to that number when the tag is touched? Or building easy access for SMS or Web-based services by configuring NFC tags to include service shortcuts with service access details?
If you have already installed and downloaded the Nokia 6131 NFC SDK, the next step to start the MIDlet programming is to complete the development environment. Follow the instructions in the Nokia 6131 NFC User’s Guide to install the complete development environment.
Examine the code examples
Before rushing into the secure element application development, you should read the Nokia 6131 NFC Technical Product Description and the references to make sure that you understand the purpose of the secure element, what all the elements are, NFC players, and the requirements for developing and deploying secure element applications.
If you still believe that secure element application development is what you need, here are few tips for getting started:
Several resources offer a wealth of useful documentation:
Forum Nokia Wiki – NFC
Forum Nokia Wiki – Nokia 6131 NFC FAQs
Forum Nokia – Near Field Communication
NFC Forum
Nokia 6131 NFC SDK documentation