December 13, 2010
NFC on Nokia & SymbianIntroduction for DevelopersMIT 13th december 2010
Ganesh SivaramanSenior ManagerForum Nokia
v2.5.1
11/8/2010 2© 2010 Nokia
Agenda• Nokia Developer offering
• NFC Architecture in Symbian & API deep dive
• Application development
• Distribution
Developer offering
11/8/2010 4© 2010 Nokia
Platform Positioning
11/8/2010 5© 2010 Nokia
NFC coming to Nokia Smartphones…Speculations are in and around:• Allaboutsymbian.com: “NFC in select Nokia
smartphones next year”
• NFC World: “All new Nokia smartphones to come with NFC from 2011”
• NFC Times: “Nokia C7 is NFC enabled”
Anssi Vanjoki, EVP Markets, Nokia
11/8/2010 6© 2010 Nokia
Smartphone OS Shipments Q2 2010
Data: Canalys
Source: http://www.allaboutsymbian.com/news/item/11899_Canalys_Q2_stats_show_Nokias_S.php
11/8/2010 7© 2010 Nokia
Smartphone Market Share in 2014
Data: IDC Worldwide Quarterly Mobile Phone Tracker, September 7, 2010
Source: http://www.idc.com/getdoc.jsp?containerId=prUS22486010
NFC on Symbian, API deep dive
11/8/2010 9© 2010 Nokia
Nokia NFC ArchitectureSupported Operating Modes:• Reader/writer
– Tag manipulation– SmartPosters
– Type A/B reader mode– Mifare classic 1k/4k, Jewel read only, NFC
Forum type 1-4• Peer-2-Peer
– Can connect to another NFC Device– Bluetooth pairing– Data exchange
Base Band
NFC Controller
NFC Antenna
ISO14443
Middleware
& adaptation
NFC Interfaces
NFC Applications
11/8/2010 10© 2010 Nokia
NFC Interfaces• All interfaces offer same/similar level
of functionality & granularity• Technology choice depends on other
criteria e.g.:– Developer Skillset– Use case– Cross platform needs– Platform integration
Adaptation (HAL & Drivers)
NFC Services (Middleware)
Qt C++ API JSR-257
Java AppNative AppNative App
C++ API
11/8/2010 11© 2010 Nokia
NFC Services APIs
API Description
NFC Discovery API Provides methods to subscribe and discover tags and NDEF messages.
NFC Tag Extension API Provides implementation and access (read/write) methods for different types of NFC targets.
NDEF API Provides methods for handling NDEF messages and accessing NDEF messages on tags.
NFC Peer-to-Peer API Provides the LLCP API for peer-to-peer communications between NFC devices.
NFC Content Handler API Provides the ECOM plug-in interface for subscribing and receiving NDEF messages.
11/8/2010 12© 2010 Nokia
Symbian Native development• Symbian^3 SDK
– Comes with Carbide.c++ IDE
• NFC Plugin for S^3 SDK
– Adds NFC services libraries
– Adds NFC emulation support for device-less development & testing
• Optional – Qt for Symbian
11/8/2010 13© 2010 Nokia
Qt development • Nokia Qt SDK
– Comes with QtCreator IDE and device simulator
• Qt Mobility (NFC API) 1.x will add NFC API support
11/8/2010 14© 2010 Nokia
J2me NFC API – JSR-257• Complete implementation of the JSR-257
Contactless Communication API + Nokia extensions
– com.innovision.rf (NFC Forum Type 1, Innovision Jewel, Innovision Topaz)
– com.nokia.nfc.nxp.mfstd (MIFARE 1k, MIFARE 4k)
– com.nokia.nfc.nxp.simpletag (NFC Forum Type 2 - MIFARE Ultralight)
– com.sony.felica (NFC Forum Type 3 - Sony FeliCa)
Application development
11/8/2010 17© 2010 Nokia
What is Qt?• Develop C++ code only once
– Deploy for multiple platforms
– … with native look & feel!
• More than UI
– 23 modules, around 800 classes, 9000 functions
– Development tools: IDE, UI designer, help system, translation tool
• Maximum performance
– Native code on all platforms
– Still possible to use platform specific APIs!
12/13/2010 17
11/8/2010 18© 2010 Nokia
Platforms Windows
Mac OS
Linux / X11
Embedded Linux
Windows CE
Maemo / MeeGo
Symbian
C++
Java
Python
Ada
Pascal
Perl
PHP
Maintained by the
Qt open source community.
Not officially supported by Nokia.
11/8/2010 20© 2010 Nokia
Longer history than you might thinkFocus on mobile platforms (Symbian, Maemo, MeeGo), dedicated mobility APIs
Nokia purchases Trolltech
Qt 4.0 – leads to new KDE 4 desktop
Qtopia – platform for mobile phones & PDAs
First public release through newsgroups (Qt 0.90)
• Dual licensing: commercial & free for open source
Decided to go into business
• “Q” looked beautiful in Emacs font. “t” for toolkit
• Company : Quasar Technologies (later: Trolltech)
Development started
• Cross platform GUI toolkit was needed
12/13/2010 20
Eirik Chambe-
Eng Nord
Haavard
11/8/2010 21© 2010 Nokia
You’re using it already!
… and many, many more!
All trademarks and logos are property of their respective owners.
11/8/2010 23© 2010 Nokia
Qt pre-installed
on new Symbian
platform phones
Upgrade your phone with
future user experience
enhancements!
11/8/2010 24© 2010 Nokia
Qt: used in all (future) platforms
... start developing now!(and switch to MeeGo when devices are available)
11/8/2010 25© 2010 Nokia
Qt SDKs from qt.nokia.comCommon Qt APIs
Qt SDK for Mac OS
Mac OS X
Qt SDK for Linux / X11
Linux (X11)
Qt SDK for Embedded
Linux
Other devices
Symbian
Nokia Qt SDK
Maemo / (MeeGo)
Simulator
Qt SDK for Windows
Windows XP / Vista / 7
Qt SDK for Windows CE
Windows CE / Mobile
You can of course install
multiple SDKs at the same time
11/8/2010 26© 2010 Nokia
Nokia Qt SDK• One-Click installation:
– Development tools
– Build for and debug in real devices
• Symbian
• MeeGo / Maemo
– Test on host PC
• Simulator
– Qt Mobility
• No extra device SDKs required anymore
12/13/2010 26
Application Distribution
11/8/2010 39© 2010 Nokia
*Chetan Sharma Consulting, March 2010
** M:Metrics, August, 2010
The global mobile appseconomy is set to be worth
$17.5 billion by 2012.*
The global mobile advertising market will be valued at over
$16 billion by 2011.**
11/8/2010 40© 2010 Nokia
Nokia Ovi Store Opportunity
175mNokia Symbian Devices
500mSeries 40 Devices
Today you can distribute apps to approximately….
11/8/2010 41© 2010 Nokia
Ovi Store Statistics
http://www.forum.nokia.com/Distribute/Ovi_Store_statistics.xhtml
Users in 190+ countries
2.7 million application downloads / day
135+ device models supported
Storefront available in 30 languages
Operator billing with 99 operators in 27 countries
(growing)
11/8/2010 42© 2010 Nokia
Ovi Store
Register atpublish.ovi.com(one-time fee of €1)
Create content items.Add meta data.
Quality Assurance.
Access reports.You get 70%, Nokia 30%.(Operator billing: 60/40)
11/8/2010 44© 2010 Nokia
Smart Installer Packaging
.cpp.sis
Source code
App installation package
Smart Installer package
(in Nokia Qt SDK)
Meta-package
(.sis)
Sign with free
publishing certificate
Sign with free
publishing certificate
Deliverable, signed
meta-package
Signed app
package
.sis
.sis
.sisapp
SI
.sisapp
SI
Can be installed to a device that has Qt already installed.
Ovi Store always requires the Smart Installer.
11/8/2010 45© 2010 Nokia
Forum Nokia Library
library.forum.nokia.com