Sunteți pe pagina 1din 44

NFC on Nokia & Symbian Introduction for Developers

Jure Sustersic
Developer Relations Forum Nokia
November 15, 2010 v2.5.1

11/15/2010

2010 Nokia

Agenda
Nokia Developer offering NFC Architecture in Symbian & API deep dive Application development Distribution

Developer offering

11/15/2010

2010 Nokia

Platform Positioning

11/15/2010

2010 Nokia

Devices and Platforms, clarified.

Phones
(Series 40)

Smartphones
(Symbian)

Computers
(Maemo / MeeGo)

Develop Java apps Develop Native Apps (Qt) Develop Web Apps

11/15/2010

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/15/2010

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/15/2010

2010 Nokia

10

NFC use cases abstracted


Easy Connect
Connect easily with other devices (speakers, headsets)

Transfer
Transfer data/content between two devices

Get information, start applications, register to services with the simple touch of a tag

Services

Secure transactions

Your phone is your credit card and or Transit/Travel card

11/15/2010

2010 Nokia

14

NFC Services APIs


API NFC Discovery API NFC Tag Extension API NDEF API NFC Peer-to-Peer API NFC Content Handler API Description Provides methods to subscribe and discover tags and NDEF messages. Provides implementation and access (read/write) methods for different types of NFC targets. Provides methods for handling NDEF messages and accessing NDEF messages on tags. Provides the LLCP API for peer-to-peer communications between NFC devices. Provides the ECOM plug-in interface for subscribing and receiving NDEF messages.

11/15/2010

2010 Nokia

15

Symbian Platform NFC API


Exposes NFC middleware at the platform level Aimed at Symbian platform developers Platform specific coding/skills needed Low abstraction

11/15/2010

2010 Nokia

16

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 Delivery planned with 1st NFC device launch

Optional Qt for Symbian

11/15/2010

2010 Nokia

17

Qt NFC API
Built on top of Platform Level API with same functionality Cross Platform Integrated into productive toolchain (Nokia Qt SDK) Future proof UI toolkit integration (Qt Quick) Nokia preferred framework for app development

11/15/2010

2010 Nokia

18

Qt development
Nokia Qt SDK
Comes with QtCreator IDE and device simulator

Qt Mobility (NFC API) 1.x will add NFC API support


Initially as an addon via http://qt.nokia.com/products/qtaddons/mobility Available by 1st NFC device launch Later integrated with the Nokia Qt SDK

11/15/2010

2010 Nokia

19

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)

11/15/2010

2010 Nokia

20

Java Development
Java Mobile development IDE
Eclipse with Mobile NetBeans Other

Symbian^3 SDK
Support for JSR-257 + Nokia extensions available by NFC device launch

Application development

11/15/2010

2010 Nokia

22

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/15/2010

2010 Nokia

23

Platforms
C++

Java Python Ada Pascal Perl PHP

Maintained by the Qt open source community. Not officially supported by Nokia.

11/15/2010

2010 Nokia

24

Develop where youre at home


Choose if you want to develop your app using Windows, Mac or Linux!

All trademarks and logos are property of their respective owners.

11/15/2010

2010 Nokia

25

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)
Eirik Chambe-Eng Nord Haavard

Development started
Cross platform GUI toolkit was needed

11/15/2010

2010 Nokia

26

Youre using it already!

and many, many more!


All trademarks and logos are property of their respective owners.

11/15/2010

2010 Nokia

27

Symbian & Qt
Qt for Symbian: Compatible to S60 3.1+ (Nokia N95, E71) Get your app running on 175 000 000 devices*! Nokia devices platform versions: http://www.forum.nokia.com/devices/
Qt Compatibility Series 60 1.0 Series 60 2.0 (+ 3 FPs) S60 3.0 S60 3.1 S60 3.2

Nokia N95 (2007)

Qt Pre-Installed S60 5.0 Symbian^2 Symbian^3 = = Symbian^1 Symbian platform

* Qt can be installed on all compatible devices. Not all devices are enabled in the Smart Installer, which is required for deploying Qt apps through the Ovi Store. More devices are constantly added as compatibility tests are being performed. Current Smart Installer device deployment support: http://www.forum.nokia.com/Distribute/Packaging_and_signing.xhtml

11/15/2010

2010 Nokia

28

Qt pre-installed on new Symbian platform phones

Upgrade your phone with future user experience enhancements!

11/15/2010

2010 Nokia

29

Qt: used in all (future) platforms


... start developing now!
(and switch to MeeGo when devices are available)

11/15/2010

2010 Nokia

30

Qt SDKs from qt.nokia.com


Common Qt APIs
Nokia Qt SDK Qt SDK for Windows Qt SDK for Windows CE Qt SDK for Mac OS Qt SDK for Linux / X11 Qt SDK for Embedded Linux
Other devices

Symbian Maemo / (MeeGo)

Simulator Windows XP / Vista / 7

Windows CE / Mobile

Mac OS X

Linux (X11)

11/15/2010

2010 Nokia

31

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

11/15/2010

2010 Nokia

32

Nokia Qt SDK: Simulator


Efficient Testing Quick launch Scripting possibilities

Using JavaScript

Simulate Qt Mobility Project features


Location, contacts, etc.

Simulate phone events


Battery, messages, etc.

Skins for different platforms / form-factors


Resolutions, orientation, etc.

11/15/2010

2010 Nokia

33

Create Your Own Web Browser in 5 Minutes

11/15/2010

2010 Nokia

34

Demo: Web Browser


Show web page with address bar and zoom slider Create UI using designer Setup project (.pro) for WebKit and networking support:
QT += core gui webkit network symbian { TARGET.CAPABILITY += NetworkServices ... }

Optional: setup proxy use during app startup


#include <QNetworkProxyFactory> QNetworkProxyFactory::setUseSystemConfiguration(true);

On clicked() signal of push button: load URL into web view


ui->webView->load(QUrl::fromUserInput(ui->lineEdit->text()));

11/15/2010

2010 Nokia

35

Demo: Web Browser


Full-page zoom slider Adapt properties to set range On valueChanged() signal: convert to floating point and set zoom factor
qreal zoom = (qreal)value / 10.0; ui->webView->setZoomFactor(zoom);

... and your web browser is finished!

11/15/2010

2010 Nokia

36

Qt Mobility
Qt: Desktop Mobile Requires new APIs for Sensors Location Messaging etc. Qt Mobility: new cross-platform APIs for mobile use cases Back-end implementation on all platforms where it makes sense

11/15/2010

2010 Nokia

37

Qt Mobility
Mobility 1.1 (Beta) Mobility 1.0 Bearer Management API Contacts Location Messaging Multimedia Publish and Subscribe Service Framework Sensors System Information Versit Camera Document Gallery Feedback Landmarks Maps/Navigation Organizer Service Framework Out of process

11/15/2010

2010 Nokia

38

Extend Qts Reach with Native Code

Use APIs that dont exist in Qt

Extend Qt APIs with extra features

Squeeze more performance from Qt applications

11/15/2010

2010 Nokia

39

The Future of Qt

11/15/2010

2010 Nokia

40

Qt 4.7
Get Qt 4.7 with QML support Desktop (Win, Linux, Mac)


End-user deployment of Qt 4.7 to Symbian: Q1 2011

Download Qt SDK from qt.nokia.com

N900 (Maemo)
Update Nokia Qt SDK, device Firmware PR 1.3

Symbian
In next update of Nokia Qt SDK Need to test now? Download Qt for Symbian from qt.nokia.com Symbian^3:
http://wiki.forum.nokia.com/index.php/Qt_4.7_for_Symbia n%5E3_-_developer_version

11/15/2010

2010 Nokia

41

Qt Quick (Qt User Interface Creation Kit)


Create UIs as a designer Without C++ knowledge Using visual tools Module: Declarative UI Based on QML language (extension to JavaScript)

http://blog.qt.nokia.com/2010/02/15/meet-qt-quick/

11/15/2010

2010 Nokia

42

Learning QML
A few tutorials Getting Started Programming with QML
http://doc.qt.nokia.com/4.7/gettingstartedqml.html

Qt Quick Tutorial
http://developer.qt.nokia.com/wiki/Qt_Quick_Tutorial

Qt Quick Game programming 5 in a row


http://quitcoding.com/?page=work#qtquick

Application Distribution

11/15/2010

2010 Nokia

44

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/15/2010

2010 Nokia

45

Nokia Ovi Store Opportunity


Today you can distribute apps to approximately.

175m
Nokia Symbian Devices

500m
Series 40 Devices

11/15/2010

2010 Nokia

46

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/15/2010

2010 Nokia

47

Ovi Store

Thank you!
jure.sustersic@nokia.com
For more information visit: http://forum.nokia.com

November 15, 2010

S-ar putea să vă placă și