NFC on Nokia & Symbian
Introduction for Developers
MIT 13th december 2010

Ganesh Sivaraman
Senior Manager
Forum Nokia

                              December 13, 2010
                                         v2.5.1
11/8/2010   © 2010 Nokia   2




Agenda
•   Nokia Developer offering
•   NFC Architecture in Symbian & API deep dive
•   Application development
•   Distribution
Developer offering
11/8/2010   © 2010 Nokia   4




Platform Positioning
11/8/2010   © 2010 Nokia   5




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   © 2010 Nokia   6




      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   © 2010 Nokia   7




      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   © 2010 Nokia        9




Nokia NFC Architecture
Supported Operating Modes:                          NFC Applications
• Reader/writer
     – Tag manipulation
                                                     NFC Interfaces
     – SmartPosters
     – Type A/B reader mode                           Middleware
     – Mifare classic 1k/4k, Jewel read only, NFC     & adaptation
       Forum type 1-4
•   Peer-2-Peer                                       Base Band
     – Can connect to another NFC Device
     – Bluetooth pairing
     – Data exchange                                   NFC Controller
                                                                         NFC Antenna

                                                                          ISO14443
11/8/2010   © 2010 Nokia   10




NFC Interfaces
                                     • All interfaces offer same/similar level
Native App   Native App   Java App     of functionality & granularity
                                     • Technology choice depends on other
                                       criteria e.g.:
                                         –   Developer Skillset
C++ API      Qt C++ API   JSR-257        –   Use case
                                         –   Cross platform needs
    NFC Services (Middleware)            –   Platform integration

    Adaptation (HAL & Drivers)
11/8/2010   © 2010 Nokia   11




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   © 2010 Nokia   12




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   © 2010 Nokia   13




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   © 2010 Nokia   14




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
12/13/2010
                                                             11/8/2010   © 2010 Nokia   17




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!
11/8/2010   © 2010 Nokia   18




Platforms                                             Windows
                                                      Mac OS
                                                      Linux / X11
  C++                                                 Embedded Linux
                                                      Windows CE
                                                      Maemo / MeeGo
         Java                                         Symbian
        Python
         Ada
        Pascal     Maintained by the
         Perl     Qt open source community.
         PHP     Not officially supported by Nokia.
12/13/2010
                                                                              11/8/2010   © 2010 Nokia    20




Longer history than you might think
      Focus 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                 Eirik Chambe-              Haavard
                                                                        Eng Nord
11/8/2010   © 2010 Nokia   21




You’re using it already!




                                                                 … and many, many more!

                 All trademarks and logos are property of their respective owners.
11/8/2010   © 2010 Nokia   23




                           Qt pre-installed
                          on new Symbian
                          platform phones




Upgrade your phone with
 future user experience
     enhancements!
11/8/2010   © 2010 Nokia   24




Qt: used in all (future) platforms

                               ... start developing now!
                              (and switch to MeeGo when devices are available)
11/8/2010   © 2010 Nokia     25




Qt SDKs from qt.nokia.com
                                            Common Qt APIs
                                                                                               Qt SDK for
          Nokia Qt          Qt SDK for       Qt SDK for       Qt SDK for    Qt SDK for
                                                                                               Embedded
            SDK             Windows         Windows CE         Mac OS      Linux / X11
                                                                                                 Linux


                                              Windows                                               Other
Symbian             Simulator                                  Mac OS X    Linux (X11)
                                             CE / Mobile                                           devices

          Maemo /           Windows
          (MeeGo)          XP / Vista / 7               You can of
                                                       course install
                                                      multiple SDKs at
                                                      the same time
12/13/2010
                                             11/8/2010   © 2010 Nokia   26




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
Application Distribution
11/8/2010   © 2010 Nokia   39




The global mobile apps
economy is set to be worth
$17.5 billion by 2012.*
The global mobile advertising market will
be valued at over
$16 billion by 2011.**

*Chetan Sharma Consulting, March 2010
** M:Metrics, August, 2010
11/8/2010   © 2010 Nokia   40




Nokia Ovi Store Opportunity
Today you can distribute apps to approximately….




               175m                                   500m
        Nokia Symbian Devices                      Series 40 Devices
11/8/2010   © 2010 Nokia   41




Ovi Store Statistics



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)
http://www.forum.nokia.com/Distribute/Ovi_Store_statistics.xhtml
11/8/2010   © 2010 Nokia   42




Ovi Store
                                                Access reports.
                                                You get 70%, Nokia 30%.
                                                (Operator billing: 60/40)

                                 Quality Assurance.


                   Create content items.
                   Add meta data.

     Register at
     publish.ovi.com
     (one-time fee of €1)
Thank you!
Damien.balsan@nokia.com
For more information visit: http://forum.nokia.com




                                                     December 13, 2010
11/8/2010   © 2010 Nokia        44




Smart Installer Packaging                                                     Can be installed to a
                                                                                device that has Qt
                                                                                already installed.
                                                                            Ovi Store always requires
                               Sign with free
Source code                                                                    the Smart Installer.
                            publishing certificate


 .cpp                                                                                     Sign with free
                  .sis                                 .sis                            publishing certificate

        App installation package                     Signed app
                                                                                 SI                                        SI
                                                      package              app                                       app

                                                                            .sis                                      .sis

                                                                        Meta-package                        Deliverable, signed
                                                                            (.sis)                            meta-package

                                                       .sis
                                              Smart Installer package
                                                (in Nokia Qt SDK)
11/8/2010   © 2010 Nokia   45




Forum Nokia Library


 library.forum.nokia.com

Nfc developers nokia mit event 12 13 10

  • 1.
    NFC on Nokia& Symbian Introduction for Developers MIT 13th december 2010 Ganesh Sivaraman Senior Manager Forum Nokia December 13, 2010 v2.5.1
  • 2.
    11/8/2010 © 2010 Nokia 2 Agenda • Nokia Developer offering • NFC Architecture in Symbian & API deep dive • Application development • Distribution
  • 3.
  • 4.
    11/8/2010 © 2010 Nokia 4 Platform Positioning
  • 5.
    11/8/2010 © 2010 Nokia 5 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
  • 6.
    11/8/2010 © 2010 Nokia 6 Smartphone OS Shipments Q2 2010 Data: Canalys Source: http://www.allaboutsymbian.com/news/item/11899_Canalys_Q2_stats_show_Nokias_S.php
  • 7.
    11/8/2010 © 2010 Nokia 7 Smartphone Market Share in 2014 Data: IDC Worldwide Quarterly Mobile Phone Tracker, September 7, 2010 Source: http://www.idc.com/getdoc.jsp?containerId=prUS22486010
  • 8.
    NFC on Symbian,API deep dive
  • 9.
    11/8/2010 © 2010 Nokia 9 Nokia NFC Architecture Supported Operating Modes: NFC Applications • Reader/writer – Tag manipulation NFC Interfaces – SmartPosters – Type A/B reader mode Middleware – Mifare classic 1k/4k, Jewel read only, NFC & adaptation Forum type 1-4 • Peer-2-Peer Base Band – Can connect to another NFC Device – Bluetooth pairing – Data exchange NFC Controller NFC Antenna ISO14443
  • 10.
    11/8/2010 © 2010 Nokia 10 NFC Interfaces • All interfaces offer same/similar level Native App Native App Java App of functionality & granularity • Technology choice depends on other criteria e.g.: – Developer Skillset C++ API Qt C++ API JSR-257 – Use case – Cross platform needs NFC Services (Middleware) – Platform integration Adaptation (HAL & Drivers)
  • 11.
    11/8/2010 © 2010 Nokia 11 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.
  • 12.
    11/8/2010 © 2010 Nokia 12 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
  • 13.
    11/8/2010 © 2010 Nokia 13 Qt development • Nokia Qt SDK – Comes with QtCreator IDE and device simulator • Qt Mobility (NFC API) 1.x will add NFC API support
  • 14.
    11/8/2010 © 2010 Nokia 14 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)
  • 15.
  • 16.
    12/13/2010 11/8/2010 © 2010 Nokia 17 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!
  • 17.
    11/8/2010 © 2010 Nokia 18 Platforms Windows Mac OS Linux / X11 C++ Embedded Linux Windows CE Maemo / MeeGo Java Symbian Python Ada Pascal Maintained by the Perl Qt open source community. PHP Not officially supported by Nokia.
  • 18.
    12/13/2010 11/8/2010 © 2010 Nokia 20 Longer history than you might think Focus 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 Eirik Chambe- Haavard Eng Nord
  • 19.
    11/8/2010 © 2010 Nokia 21 You’re using it already! … and many, many more! All trademarks and logos are property of their respective owners.
  • 20.
    11/8/2010 © 2010 Nokia 23 Qt pre-installed on new Symbian platform phones Upgrade your phone with future user experience enhancements!
  • 21.
    11/8/2010 © 2010 Nokia 24 Qt: used in all (future) platforms ... start developing now! (and switch to MeeGo when devices are available)
  • 22.
    11/8/2010 © 2010 Nokia 25 Qt SDKs from qt.nokia.com Common Qt APIs Qt SDK for Nokia Qt Qt SDK for Qt SDK for Qt SDK for Qt SDK for Embedded SDK Windows Windows CE Mac OS Linux / X11 Linux Windows Other Symbian Simulator Mac OS X Linux (X11) CE / Mobile devices Maemo / Windows (MeeGo) XP / Vista / 7 You can of course install multiple SDKs at the same time
  • 23.
    12/13/2010 11/8/2010 © 2010 Nokia 26 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
  • 24.
  • 25.
    11/8/2010 © 2010 Nokia 39 The global mobile apps economy is set to be worth $17.5 billion by 2012.* The global mobile advertising market will be valued at over $16 billion by 2011.** *Chetan Sharma Consulting, March 2010 ** M:Metrics, August, 2010
  • 26.
    11/8/2010 © 2010 Nokia 40 Nokia Ovi Store Opportunity Today you can distribute apps to approximately…. 175m 500m Nokia Symbian Devices Series 40 Devices
  • 27.
    11/8/2010 © 2010 Nokia 41 Ovi Store Statistics 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) http://www.forum.nokia.com/Distribute/Ovi_Store_statistics.xhtml
  • 28.
    11/8/2010 © 2010 Nokia 42 Ovi Store Access reports. You get 70%, Nokia 30%. (Operator billing: 60/40) Quality Assurance. Create content items. Add meta data. Register at publish.ovi.com (one-time fee of €1)
  • 29.
    Thank you! Damien.balsan@nokia.com For moreinformation visit: http://forum.nokia.com December 13, 2010
  • 30.
    11/8/2010 © 2010 Nokia 44 Smart Installer Packaging Can be installed to a device that has Qt already installed. Ovi Store always requires Sign with free Source code the Smart Installer. publishing certificate .cpp Sign with free .sis .sis publishing certificate App installation package Signed app SI SI package app app .sis .sis Meta-package Deliverable, signed (.sis) meta-package .sis Smart Installer package (in Nokia Qt SDK)
  • 31.
    11/8/2010 © 2010 Nokia 45 Forum Nokia Library library.forum.nokia.com