Your SlideShare is downloading. ×
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8

6,055

Published on

Near Field Communication (NFC) is an emerging short-range radio technology that is poised to revolutionise how we use mobile phones in everyday interactions. In this webinar, we’ll introduce the …

Near Field Communication (NFC) is an emerging short-range radio technology that is poised to revolutionise how we use mobile phones in everyday interactions. In this webinar, we’ll introduce the basics of NFC and how the technology is implemented in Nokia Lumia phones. We’ll also demonstrate how you can use NFC via Microsoft Windows Phone 8’s Proximity API in your applications to share content, read data from and write data to NFC tags, and create your own application-launch tags. We suggest that you install the Microsoft Windows Phone SDK 8.0 in advance to get the most out of this training lab. While you’ll learn a lot with or without the SDK, you’ll learn even more if you have the SDK installed and can begin using the API as soon as you complete the training. Also, it will be helpful to have a Nokia Lumia phone built on Windows Phone 8 available for testing.

Published in: Technology
0 Comments
10 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,055
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
536
Comments
0
Likes
10
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. LUMIA APP LABS #8DEVELOPING NFCAPPS IN WINDOWSPHONE 8Andreas Jakl [@mopius]Mopius
  • 2. AGENDA − NFC intro − Share captured photos − Share URLs − Share your app − Custom URI scheme − LaunchApp tag − Storing data on NFC tags − Multi-user collaboration − Tools & resources 2
  • 3. TAP AND DO A gesture that is a natural interaction between people in close proximity used to trigger doing something together between the devices they are holding. System: Near Field Proximity (e.g., NFC) Documentation: bit.ly/ProximitySpec 3
  • 4. SCENARIOS Connect Devices Exchange Digital Objects Acquire Content 4
  • 5. Windows Phone 8 + Proximity APIs ASUS VivoTab RT LTE Windows 8 Documentation Win8: bit.ly/ProximityAPIWP8: bit.ly/ProximityAPIwp8 5
  • 6. SHARE CAPTURED PHOTOS 6
  • 7. SHARE CAPTURED PHOTOS 2. 1. Share Take captured picture file CameraCaptureTask ShareMediaTask Code Demo 7
  • 8. SHARE URLS 8
  • 9. NFC DATA NDEF Record … (e.g., URL) NDEF Message NDEF = NFC Data Exchange Format 9
  • 10. NDEF.CODEPLEX.COM Create NDEF Reusable Parse information messages & records NDEF from raw byte arrays (standard compliant) classes Fully documented Open Source LGPL license (based on Qt Mobility) NDEF messages are standardized by the NFC Forum: http://www.nfc-forum.org/specs/ 10
  • 11. SUPPORTED RECORD TYPES Geo tags Social tags Smart Poster SMS tags URI Telephone call Text Mailto tags LaunchAppAndroid Application Record (AAR) Windows Phone Settings Nokia Accessories Record NearSpeak Voice Messages 11
  • 12. SHARE URLS Code Demo 12
  • 13. 13
  • 14. SHARE YOUR APP 14
  • 15. CUSTOM URI SCHEME nearspeak: en-USmGood+morning. Protocol Custom name data Encoded Launch URI Examples* skype:mopius?call nokia-music://show/artist/?name=Rihanna * Definition & examples: http://en.wikipedia.org/wiki/URI_scheme 15
  • 16. CUSTOM URI SCHEME Launch your app ... … from … from … on other other apps NFC tags devices (same device) Code Demo 16
  • 17. USER EXPERIENCE No app installed 1 app installed 2+ apps installed 17
  • 18. LAUNCHING APPS Tag directly contains app name and parameters Tag / phone launches app through custom URI scheme 18
  • 19. CUSTOM URIS VS. LAUNCHAPP Use less space on tag (LaunchApp with multiple app ids: big!) Better cross-platform compatibility (also Android apps can be launched with custom URI) No unique app mapping (other apps can register for your URI scheme too!) 19
  • 20. STORING APP DATA ON NFC TAGSRecommended HTTP Custom URI LaunchApp External Windows Website Scheme Tag Type Protocol Link Safest and most Better UX for Best app launching Standardized Should not be cross-platform app launching UX, but specific type for storing used for storing to Windows data, but limited custom data use on Windows bit.ly/NfcAppData 20
  • 21. MULTI-USER COLLABORATION 21
  • 22. MULTI-USER COLLABORATION Tap for Quick Data Long Term Exchange Connection ProximityDevice PeerFinder Exchange Windows / Automatically builds NDEF messages, Bt / WiFi Direct SNEP protocol socket connection 22
  • 23. ESTABLISHING Long Term Connection Trigger Browse Interact with Tap Start Search NFC Bt, WiFi, etc. 23
  • 24. TAP TO TRIGGER App not installed App installed 24
  • 25. CONNECTION STATE Proximity gesture complete 1 Devices can be pulled away PeerFound Which device initiated tap gesture? → Connecting, other device Listening 2 Connecting / Listening Access socket of persistent transport (e.g., TCP/IP, Bt) 3 Completed 25
  • 26. NFCRPS Multiplayer game Tap launches app on 2nd phone Players decide next move on own device Both see the winner! Code Demo 26
  • 27. TOOLS & RESOURCES 27
  • 28. TOOLS AND RESOURCES− NFC Overview: developer.nokia.com/NFC− MSDN Proximity API documentation: bit.ly/ProximityAPIwp8− NFC News: nfcworld.com− NDEF Library for Proximity APIs: ndef.codeplex.com− NFC developer comparison (WP, Android, BlackBerry): bit.ly/NfcDevCompare− Specifications: nfc-forum.org 28
  • 29. Thank you! Andreas Jakl [@mopius] nfcinteractor.comCode examples online: bit.ly/NfcWebinar 29

×