Nov 4, 2011... the next billion and Windows Phone! © 2011 Nokia Developing your App for
Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl ...
Developing your App for Nokia: Symbian Belle, NFC, the next billion and Windows Phone! Andreas Jakl Senior Technical Consultant Nokia
1
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Agenda • Platforms & Development – Series 40 (Asha) – Windows Phone (Lumia) – MeeGo Harmattan, Symbian Belle:
Qt – Now & Future (Qt Project)
• Near Field Communication (NFC)
• Nokia Store 2
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Nokia World & Qt Dev Days
3
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Nokia World & Qt Dev Days
4
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Nokia World & Qt Dev Days
5
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Nokia World & Qt Dev Days
6
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Platforms & Development
7
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Your Development Options Series 40
Symbian
MeeGo / Maemo
Java
Silverlight Native (Qt) Web
8
Windows Phone
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
XNA
Series 40 (Asha)
9
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Series 40 Java
Nokia SDK for Java
http://www.developer.nokia.com/Develop/Java/
10
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
New Java APIs • Nokia Maps for Java • Extension to existing Location API – Cell-ID based Location
• System Information extension – Dual SIM – Battery level, network status, etc.
• In-App Purchase 11
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Series 40 Web Apps
Interactive, JavaScript & cloud-based web apps running in the Series 40 proxy browser http://www.developer.nokia.com/Develop/Series_40/Series_40_web_apps/ 12
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Windows Phone
Nokia Lumia 710
13
Nokia Lumia 800
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Windows Phone Development • Windows Phone SDK 7.1 – Free Visual Studio Express & Expression Blend – Develop for Windows Phone 7.5 “Mango” – Silverlight & XNA (.net)
– http://www.developer.nokia.com/Develop/Windows_Phone/
14
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Symbian Belle Nokia 603
15
Nokia 700
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Nokia 701
16
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Symbian Belle
Symbian^3 / Anna
Symbian UI Improvements
MeeGo Harmattan Nokia N9
17
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Technologies & Platforms C++ OpenGL QML HTML5 CSS3 JavaScript
18
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Windows Mac OS Linux / X11 Embedded Linux Windows CE MeeGo / Maemo Symbian
What is Qt? Developer
Using Qt SDK for – Dev. environment – Testing – Translation – Help
App Source Code Using Qt framework for – User Interface – Networking – Location (GPS) – Web integration – ...
19
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Publish to – Nokia Store (Symbian, MeeGo) – Windows – Linux – Mac – Embedded
Qt: On Your PC already!
… and many, many more! 20
and logos are property of their respective owners. © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011All trademarks Andreas Jakl
More information: http://qt.nokia.com/qt-in-use http://conversations.nokia.com/2011/03/15/10-qt-use-cases-you-didnt-know/
Developer Environment Setup • One-click installation
Maemo
– IDE – Tool-chains – Documentation
Desktop
Qt SDK works on Windows, Linux, Mac
– Examples • http://developer.nokia.com/Qt Symbian
21
Simulator
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
MeeGo
User Interfaces with Qt Quick • Most cross-platform – Design and create any user interface: declarative QML language – Qt Quick Components: ready-made standard UI components
Windows 7
Maemo / MeeGo Simulator
Symbian 22
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Qt – Future! • Qt 5 – Main focus on Qt Quick, HW acceleration, performance & modularization
• Open Governance – All decisions taken by community of contributors, approvers and maintainers
– Qt Project: qt-project.org 23
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
http://www.nokia.com/nfc
A day in your life with NFC
24
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
NFC Demo Video Watch online
www.nokia.com/nfc
25
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
In the morning ... I’d like to listen to some music!
All mp3s are on my phone ...
26
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
... but I need more volume!
Play it loud
nfc – tap to pair & play!
Wireless Bluetooth connection 27
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Near Field Communication? Tap a device or a tag: easy and intuitive gesture Integrate proximity into local and social interactions NFC = Wireless connectivity technology Short distance: 0 - 4 cm
13.56 MHz, up to 424Kbits/sec (slow!)
28
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Take the music with you ...
Tap to hear your music through your headset!
29
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
... how does it work?
Tap to hear your music through your headset!
A tiny NFC tag is built into the headset 30
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
What do NFC tags look like? Standardized: NFC Forum Type 1 – 4 Also common: Mifare
Tag embedded in a creditcard style event badge 31
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
What do NFC tags look like? Backside reveals the antenna and chip
32
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Social Network Check In
With an NFC tag placed in the bar, it’s a matter of seconds, even indoors! What do you need to store on the tag to make this work? 33
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Store Data on a Tag Your app not yet installed? Download it! Standardized URL record
http://store.ovi.com/ content/184295 Custom application record
placeName=Schlabo’s Bar;id=72XLPM3
Data NDEF Records
Encapsulated in NDEF Message
Encoded through NFC Forum Tag Type Platform
App already installed? Read data and check in! 34
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl Container image adapted from s_volenszki (Flickr), released under Creative Commons BY-NC 2.0
Stored on NFC Forum Tag
NDEF Messages & Records NDEF Message
NDEF Record – – – –
35
NDEF Record
Header & TNF (Type) (Id) (Payload)
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl NDEF = NFC Data Exchange Format, TNF = Type Name Format
...
NDEF Record Types Smart Poster
Web
36
Sms
Possible payloads
MIME
Uri
Text
Record types
Image
vCard
Tel
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Handover
Custom
Empty
Check bus schedule
37
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Check bus schedule Either read through endless schedules …
… or just tap and see the next relevant connections
38
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Similar possibilities w/ 2D Barcodes?
– – – – –
Works by touching, instant Design can be merged with product Larger data storage possible Multiple use cases (app launch, BT pairing) Re-writable (if desired)
– Requires NFC HW – New to consumers
39
– No NFC HW required – Easily recognizable
– – – – –
Inconvenient (camera, focus, take picture) Large visual impact on product Very limited data storage Limited use cases (no app launch, BT pairing) Read-only
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
While Waiting: Unlock Game Content Angry Birds Magic • First 5 levels available Unlock more levels • Touch the phone of your friend!
40
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
How to Touch? • Touching with a natural NFC antenna placement – Give instant feedback in your app!
http://www.developer.nokia.com/Resources/Library/Design_and_UX/designing-for-nokia-devices/interaction-design/designing-nfc-applications.html
41
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Peer-to-peer • Touch two phones to ... • ... establish instant peer-to-peer connection – Uses LLCP (Logical Link Control Protocol) – Direct communication via sockets
• Content transfer – Slow connection (< 424 kBit/s, Bluetooth: < 3 MBit /s)) – Only while touching → great to exchange business card or unlock game items → transfer more data (e.g., images)? Use NFC to exchange Bluetooth / Wifi handover information 42
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
NFC Development Alternatives
Java ME Works on Series 40 and Symbian devices.
Limited use of smartphone features.
Qt Mobility Cross-platform API. Best flexibility and ease of app development.
Symbian Native Low level control over devices’ NFC support.
More complex, platform knowledge required.
http://www.developer.nokia.com/NFC 43
© 2011 Nokia Nokia NFC Development v2.0.3 October 13, 2011 Andreas Jakl
Put tag into your merchandise to unlock bonus content in your game
Social networking app: touch friend’s phone to connect
Virtual message board: people post short texts at specific, realworld places
Treasure hunt game with tags spread around the city
Museum or tourist guide: touch tags to get more info*
NFC App Ideas Farm game: touch friend’s phone to exchange virtual sheep or money
Augment an interactive multimedia installation with touch
Concert app: provide video and music samples of the band when touching a poster
Multiplayer board game: touch friend’s phone to switch turns Call a taxi to the office by touching a tag **
44
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
* http://conversations.nokia.com/2011/09/26/byte-at-the-museum/ ** http://conversations.nokia.com/2011/10/11/nokia-and-nfc-create-world%e2%80%99s-first-taxi-booking/
Nokia Store Access reports. You get 70%, Nokia 30%. Quality Assurance. Create content items. Add meta data. Register at publish.nokia.com (one-time fee of €1) 45
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl * Avoid the top 10 QA failures: http://support.publish.ovi.com/?p=1865
Source: http://www.research2guidance.com/apps-on-nokia%E2%80%99s-ovi-store-had-2.5-times-higher-download-numbers-in-q2-2011-compared-to-apps-on-apple-app-store/ 46
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl
Thank You. Want to learn more? http://developer.nokia.com Andreas Jakl [@mopius] Senior Technical Consultant Nokia
47
© 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl