Developing Your App for Nokia: Symbian Belle, NFC, the Next Billion and Windows Phone! Andreas Jakl Senior Technical Consultant Nokia
Total Page:16
File Type:pdf, Size:1020Kb
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 Windows Phone Java Silverlight Native (Qt) XNA Web 8 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl 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 Nokia Lumia 800 13 © 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 Nokia 700 Nokia 701 15 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl Symbian UI Improvements Symbian Belle Symbian Symbian^3 / Anna Symbian^3 16 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl MeeGo Harmattan Nokia N9 17 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl Technologies & Platforms Windows C++ Mac OS OpenGL Linux / X11 QML Embedded Linux HTML5 Windows CE CSS3 MeeGo / Maemo JavaScript Symbian 18 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl What is Qt? Using Qt SDK for – Dev. environment – Testing – Translation Publish to – Help – Nokia Store (Symbian, MeeGo) Developer App Source Code – Windows – Linux Using Qt framework for – Mac – Embedded – User Interface – Networking – Location (GPS) – Web integration – ... 19 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl Qt: On Your PC already! … and many, many more! 20 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011All trademarksAndreas Jakland logos are property of their respective owners. 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 Desktop Simulator – Documentation Qt SDK works on – Examples Windows, Linux, Mac • http://developer.nokia.com/Qt Symbian MeeGo 21 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl 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 Maemo / MeeGo Windows 7 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! ... but I need more volume! All mp3s are on my phone ... 26 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl 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 credit- card 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 Encapsulated in Encoded through Stored on NDEF Records NDEF Message NFC Forum NFC Forum Tag 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 NDEF Messages & Records NDEF Message NDEF Record NDEF Record ... – Header & TNF – (Type) – (Id) – (Payload) 35 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl NDEF = NFC Data Exchange Format, TNF = Type Name Format Record types NDEF Record Types Possible payloads Smart Poster MIME Hand- Custom Empty over Uri Text Image vCard Web Sms Tel 36 © 2011 Nokia Developing your App for Nokia Mobile2Days, Sofia November 4, 2011 Andreas Jakl 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 – No NFC HW required – Design can be merged with product – Easily recognizable – Larger data storage possible – Multiple use cases (app launch, BT pairing) – Re-writable (if desired) – Requires NFC HW – Inconvenient (camera, focus, take picture) – New to consumers – Large visual impact on product – Very limited data storage – Limited use cases (no app launch, BT pairing) – Read-only 39 © 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