SlideShare a Scribd company logo
1 of 34
NFC

The tap technology
Contents

•   NFC : Intro.
•   Little history and the present.
•   Big future?
•   NFC with Google.
•   Android Beam, Android wallet.
•   API’s.
NFC : Near Field Communication

• Short range wireless technology (<4 cm)
• Slower than Bluetooth and Wi-Fi (106 kbit/s
  to 848 kbit/s)
• Can use passive targets (stickers, tags, cards)
• Peer to peer communication (two mobiles)
• Less setup friction (no pairing , no discovery)
How it works?

• An Initiator , a target.
• Initiator generates an RF
  field (Radio frequency)
  around the target.
• Target can be passive or
  powered.
• Magnetic induction
• 13.56 MHz
Modes

• Passive: powered initiator, passive target.
• Active: (Peer to peer) :Both initiator and the
  target are powered.
Phone reads NFC tag




       Reads
Phone writes NFC tag




       Writes
Phone reads phone




       Reads
Phone reads/writes phone




        Reads/writes
The tags:

•   Contain small data (96 - 4,096 bytes)
•   Typically readable, can be writable too.
•   Can be encoded.
•   Four types of tags, different in:
    –   Speeds,
    –   configurability,
    –   memory,
    –   security,
    –   data retention and
    –   write endurance
When a phone is loaded with NFC

It can:
     – Work as virtual credit cards for payments.
     – Can work as keycard or ID card.
     – Can read unpowered NFC tags.
What can we do with NFC powered phones?

  • Just tap to:
     • Share a file
     • Share contacts
     • Pay the bills
     • Start a game
     • Pair bluetooth
     • Start wi-fi
     • Get a bus/air ticket
     • Use as coupons
     • Use as a tour guide
     • use as room key
The recent past…

• Co-invented by NXP Semiconductors and Sony in 2002.
• Nokia is oldest mobile player since 2004.
• “NFC forum” founded by Nokia with Sony and Phillips to
  promote sharing, pairing, and transactions between
  NFC devices.
   –   130 countries.
   –   140 companies.
   –   Samsung, Nokia, Huawei, HTC, Motorola, RIM, LG, Sony Ericsson,
   –   AT&T, Sprint.
   –   Google, Microsoft, Intel, Qualcomm.
   –   PayPal, Visa, Mastercard, American Express.
What’s happening today…



Let’s checkout timeline.
What’s happening today…
What’s happening today…
What’s happening today…
What’s happening today…
What’s happening today…
What’s happening today…
What’s happening today…
So how’s the future?


• Up to 700 million NFC-enabled mobile phones will be sold by
  2013 : Jupiter research
• Japan: FeliCa, a type of NFC tag being used as primary mode for
  payment.
• Corporations adopting NFC to reduce infrastructure cost and
  for flexibility.
• Based on existing contactless infrastructure.
Now NFC with Google Android…

•   Started support in 2.3(Gingerbread)
•   Galaxy Nexus, Nexus S, Galaxy S2, LG optimus net
•   Payments and banking apps
•   Social apps
•   Multiplayer games
Google Wallet
Google Wallet


•   Mobile payment system.
•   Allows to store credit cards, loyalty cards, gift cards and more.
•   Tap to pay with Citi® MasterCard® or the Google Prepaid Card.
•   Get benefit from sales promotions and coupons.
•   Secure. Fast. Convenient.
Android Beam

• Application for easy sharing between NFC enabled Android
  devices.
• Introduced in Android 4.0 (Ice-cream Sandwich).
• They say it “incredibly simple”.
• For developers to integrate into their applications.
• Share videos, music, contacts, applications, game scores….
API’s



android.nfc
android.nfc

•   NfcManager
•   NfcAdapter
•   NdefMessage
•   NdefRecord
NfcManager

• High level manager class
• Used to get NfcAdapter instance

NfcManager manager = getSystemService(Context.NFC_SERVICE);
NfcAdapter

• Represents the Device’s NFC adapter.
• To disable or enable ‘tag dispatch’ system.
• To open an appropriate “Activity” to handle a discovered tag.
          disableForegroundDispatch(Activity activity)

    enableForegroundDispatch(Activity activity, PendingIntent
           intent, IntentFilter[] filters, String[][] techLists)

          disableForegroundNdefPush(Activity activity)
Tag dispatch system

• To chose most appropriate activity to automatically handle the
  situation when a ‘tag’ is discovered.
• Without user intervention.
• Two types:
   – Foreground: by the present Activity
   – Background: by the intent messages
NdefMessage, NdefRecord

• Ndefmessage:
   – Represents NDEF (NFC Data Exchange Format) data message.
   – Standard format by NFC forum.
   – Contains one or more NdefRecord’s.
• NdefRecord:
   – Container for actual data (URI etc).
   – Contains type info, ID and payload data.
Questions?

More Related Content

What's hot

NFC technical presentation
NFC technical presentationNFC technical presentation
NFC technical presentation
Akshat Rohatgi
 
Near field communication
Near field communicationNear field communication
Near field communication
Rahul Patil
 
Nokia NFC Presentation
Nokia NFC PresentationNokia NFC Presentation
Nokia NFC Presentation
momobeijing
 
Near field communication(nfc)
Near field communication(nfc)Near field communication(nfc)
Near field communication(nfc)
Bhaumik Gagwani
 

What's hot (20)

Near Field Communication by Mohammed Mudassir
Near Field Communication by Mohammed MudassirNear Field Communication by Mohammed Mudassir
Near Field Communication by Mohammed Mudassir
 
NFC near feald communication
NFC near feald communicationNFC near feald communication
NFC near feald communication
 
Near field communication
Near field communicationNear field communication
Near field communication
 
NFC technical presentation
NFC technical presentationNFC technical presentation
NFC technical presentation
 
NFC Technology
NFC TechnologyNFC Technology
NFC Technology
 
Webinar on Insider's Insight into NFC
Webinar on Insider's Insight into NFCWebinar on Insider's Insight into NFC
Webinar on Insider's Insight into NFC
 
Ask Contactless Terminals
Ask Contactless TerminalsAsk Contactless Terminals
Ask Contactless Terminals
 
La technologie NFC
La technologie NFCLa technologie NFC
La technologie NFC
 
Near field communication
Near field communicationNear field communication
Near field communication
 
NFC on Android - Near Field Communication
NFC on Android - Near Field CommunicationNFC on Android - Near Field Communication
NFC on Android - Near Field Communication
 
Nfc- Near Field Communicatio
Nfc- Near Field CommunicatioNfc- Near Field Communicatio
Nfc- Near Field Communicatio
 
Near Field Communication(NFC)
Near Field Communication(NFC)Near Field Communication(NFC)
Near Field Communication(NFC)
 
Nfc ppt
Nfc pptNfc ppt
Nfc ppt
 
ReiterNokia
ReiterNokiaReiterNokia
ReiterNokia
 
Merchant360 SP4G(tm) NFC Coverage Walls Counters and Floors
Merchant360 SP4G(tm) NFC Coverage Walls Counters and FloorsMerchant360 SP4G(tm) NFC Coverage Walls Counters and Floors
Merchant360 SP4G(tm) NFC Coverage Walls Counters and Floors
 
Ultrabook Development Using Sensors - Intel AppLab Berlin
Ultrabook Development Using Sensors - Intel AppLab BerlinUltrabook Development Using Sensors - Intel AppLab Berlin
Ultrabook Development Using Sensors - Intel AppLab Berlin
 
Nokia NFC Presentation
Nokia NFC PresentationNokia NFC Presentation
Nokia NFC Presentation
 
NFC for the Internet of Things
NFC for the Internet of ThingsNFC for the Internet of Things
NFC for the Internet of Things
 
Near field communication(nfc)
Near field communication(nfc)Near field communication(nfc)
Near field communication(nfc)
 
Near Field Communication (NFC) technology
Near Field Communication (NFC) technologyNear Field Communication (NFC) technology
Near Field Communication (NFC) technology
 

Viewers also liked

NFC Everywhere Brochure 2016
NFC Everywhere Brochure 2016NFC Everywhere Brochure 2016
NFC Everywhere Brochure 2016
Laurent Dardé
 

Viewers also liked (18)

Windows (Phone) 8 NFC App Scenarios
Windows (Phone) 8 NFC App ScenariosWindows (Phone) 8 NFC App Scenarios
Windows (Phone) 8 NFC App Scenarios
 
Near field communication (NFC) in android
Near field communication (NFC) in androidNear field communication (NFC) in android
Near field communication (NFC) in android
 
NFC in Direct Mail - the Pros and Cons
NFC in Direct Mail - the Pros and ConsNFC in Direct Mail - the Pros and Cons
NFC in Direct Mail - the Pros and Cons
 
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
LUMIA APP LABS: DEVELOPING NFC APPS IN WINDOWS PHONE 8
 
Windows Phone 8 NFC Quickstart
Windows Phone 8 NFC QuickstartWindows Phone 8 NFC Quickstart
Windows Phone 8 NFC Quickstart
 
Vodafone Cash Service - NFC tag
Vodafone Cash Service - NFC tagVodafone Cash Service - NFC tag
Vodafone Cash Service - NFC tag
 
Nfc tutorial
Nfc tutorialNfc tutorial
Nfc tutorial
 
Project
ProjectProject
Project
 
Near Field Communication in m-Commerce
Near Field Communication in m-CommerceNear Field Communication in m-Commerce
Near Field Communication in m-Commerce
 
Razorfish nfc technologies presentation 2013
Razorfish nfc technologies presentation 2013Razorfish nfc technologies presentation 2013
Razorfish nfc technologies presentation 2013
 
Yogesh
YogeshYogesh
Yogesh
 
Guide du tag NFC : quels usages dans quels contextes ?
Guide du tag NFC : quels usages dans quels contextes ?Guide du tag NFC : quels usages dans quels contextes ?
Guide du tag NFC : quels usages dans quels contextes ?
 
Track 1 session 6 - st dev con 2016 - smart badge
Track 1   session 6 - st dev con 2016 - smart badgeTrack 1   session 6 - st dev con 2016 - smart badge
Track 1 session 6 - st dev con 2016 - smart badge
 
RFID/NFC for the Masses
RFID/NFC for the MassesRFID/NFC for the Masses
RFID/NFC for the Masses
 
A Librarian's Field Guide to Near Field Communication
A Librarian's Field Guide to Near Field CommunicationA Librarian's Field Guide to Near Field Communication
A Librarian's Field Guide to Near Field Communication
 
NFC Everywhere Brochure 2016
NFC Everywhere Brochure 2016NFC Everywhere Brochure 2016
NFC Everywhere Brochure 2016
 
Contactless NFC Tags For Mobile Loyalty
Contactless NFC Tags For Mobile LoyaltyContactless NFC Tags For Mobile Loyalty
Contactless NFC Tags For Mobile Loyalty
 
droidcon 2012: What's the Hack is NFC .., Hauke Meyn, NXP
droidcon 2012: What's the Hack is NFC .., Hauke Meyn, NXPdroidcon 2012: What's the Hack is NFC .., Hauke Meyn, NXP
droidcon 2012: What's the Hack is NFC .., Hauke Meyn, NXP
 

Similar to Near field communication

Nfc security shane_turner_spring2013
Nfc security shane_turner_spring2013Nfc security shane_turner_spring2013
Nfc security shane_turner_spring2013
Shane Turner
 
Near field communication new
Near field communication newNear field communication new
Near field communication new
Sanu Varghese
 
Near field communication.pptx
Near field communication.pptxNear field communication.pptx
Near field communication.pptx
Poriumlimited
 
Near field communication
Near field communicationNear field communication
Near field communication
Dheeraj Raja
 
NFC (Near Field Communication) by sandip murari
NFC (Near Field Communication) by sandip murariNFC (Near Field Communication) by sandip murari
NFC (Near Field Communication) by sandip murari
Sandip Murari
 
Nearfieldcommunication 130807091143-phpapp02
Nearfieldcommunication 130807091143-phpapp02Nearfieldcommunication 130807091143-phpapp02
Nearfieldcommunication 130807091143-phpapp02
student
 

Similar to Near field communication (20)

Nfc
NfcNfc
Nfc
 
Nfc security shane_turner_spring2013
Nfc security shane_turner_spring2013Nfc security shane_turner_spring2013
Nfc security shane_turner_spring2013
 
Near field communication new
Near field communication newNear field communication new
Near field communication new
 
Near field communication.pptx
Near field communication.pptxNear field communication.pptx
Near field communication.pptx
 
Near field communication
Near field communicationNear field communication
Near field communication
 
Near Field Communication (NFC)
Near Field Communication (NFC)Near Field Communication (NFC)
Near Field Communication (NFC)
 
Near field communication(NFC)
Near field communication(NFC)Near field communication(NFC)
Near field communication(NFC)
 
NFC (Near Field Communication) by sandip murari
NFC (Near Field Communication) by sandip murariNFC (Near Field Communication) by sandip murari
NFC (Near Field Communication) by sandip murari
 
Near Field Communication
Near Field CommunicationNear Field Communication
Near Field Communication
 
What is NFC
What is NFCWhat is NFC
What is NFC
 
Nearfieldcommunication 130807091143-phpapp02
Nearfieldcommunication 130807091143-phpapp02Nearfieldcommunication 130807091143-phpapp02
Nearfieldcommunication 130807091143-phpapp02
 
Nearfieldcommunication 130807091143-phpapp02
Nearfieldcommunication 130807091143-phpapp02Nearfieldcommunication 130807091143-phpapp02
Nearfieldcommunication 130807091143-phpapp02
 
NFC
NFCNFC
NFC
 
Introduction to NFC
Introduction to NFCIntroduction to NFC
Introduction to NFC
 
NFC TECHNOLOGY
NFC TECHNOLOGYNFC TECHNOLOGY
NFC TECHNOLOGY
 
Nfc
NfcNfc
Nfc
 
Introduction to nfc
Introduction to nfcIntroduction to nfc
Introduction to nfc
 
Nfc
NfcNfc
Nfc
 
Nfc
NfcNfc
Nfc
 
e-wallet , The future of Cards and Money
e-wallet , The future of Cards and Moneye-wallet , The future of Cards and Money
e-wallet , The future of Cards and Money
 

More from Paramvir Singh

Android one, why it is important for Android developers in India
Android one, why it is important for Android developers in IndiaAndroid one, why it is important for Android developers in India
Android one, why it is important for Android developers in India
Paramvir Singh
 
Android enterprise application development
Android enterprise application developmentAndroid enterprise application development
Android enterprise application development
Paramvir Singh
 

More from Paramvir Singh (13)

Ai and using ml in mobile apps
Ai and using ml in mobile appsAi and using ml in mobile apps
Ai and using ml in mobile apps
 
AI in image recognition
AI in image recognition AI in image recognition
AI in image recognition
 
Android gps, location services, camera and sensors - Paramvir Singh
Android gps, location services, camera and sensors - Paramvir SinghAndroid gps, location services, camera and sensors - Paramvir Singh
Android gps, location services, camera and sensors - Paramvir Singh
 
Dependency injection and dagger2 in android paramvir singh
Dependency injection and dagger2 in android   paramvir singhDependency injection and dagger2 in android   paramvir singh
Dependency injection and dagger2 in android paramvir singh
 
Android: Network optimization by Paramvir Singh
Android:  Network optimization by Paramvir SinghAndroid:  Network optimization by Paramvir Singh
Android: Network optimization by Paramvir Singh
 
Android Session 6 - UI Part 1
Android Session 6 - UI Part 1Android Session 6 - UI Part 1
Android Session 6 - UI Part 1
 
Android ui part 2
Android ui part 2Android ui part 2
Android ui part 2
 
Android Connecting to internet Part 2
Android  Connecting to internet Part 2Android  Connecting to internet Part 2
Android Connecting to internet Part 2
 
Android Connecting to Internet
Android Connecting to InternetAndroid Connecting to Internet
Android Connecting to Internet
 
Android Starting App Development
Android  Starting App DevelopmentAndroid  Starting App Development
Android Starting App Development
 
Android one, why it is important for Android developers in India
Android one, why it is important for Android developers in IndiaAndroid one, why it is important for Android developers in India
Android one, why it is important for Android developers in India
 
Clean code, Better coding practices
Clean code, Better coding practicesClean code, Better coding practices
Clean code, Better coding practices
 
Android enterprise application development
Android enterprise application developmentAndroid enterprise application development
Android enterprise application development
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Near field communication

  • 2. Contents • NFC : Intro. • Little history and the present. • Big future? • NFC with Google. • Android Beam, Android wallet. • API’s.
  • 3. NFC : Near Field Communication • Short range wireless technology (<4 cm) • Slower than Bluetooth and Wi-Fi (106 kbit/s to 848 kbit/s) • Can use passive targets (stickers, tags, cards) • Peer to peer communication (two mobiles) • Less setup friction (no pairing , no discovery)
  • 4. How it works? • An Initiator , a target. • Initiator generates an RF field (Radio frequency) around the target. • Target can be passive or powered. • Magnetic induction • 13.56 MHz
  • 5. Modes • Passive: powered initiator, passive target. • Active: (Peer to peer) :Both initiator and the target are powered.
  • 6. Phone reads NFC tag Reads
  • 7. Phone writes NFC tag Writes
  • 10. The tags: • Contain small data (96 - 4,096 bytes) • Typically readable, can be writable too. • Can be encoded. • Four types of tags, different in: – Speeds, – configurability, – memory, – security, – data retention and – write endurance
  • 11. When a phone is loaded with NFC It can: – Work as virtual credit cards for payments. – Can work as keycard or ID card. – Can read unpowered NFC tags.
  • 12. What can we do with NFC powered phones? • Just tap to: • Share a file • Share contacts • Pay the bills • Start a game • Pair bluetooth • Start wi-fi • Get a bus/air ticket • Use as coupons • Use as a tour guide • use as room key
  • 13. The recent past… • Co-invented by NXP Semiconductors and Sony in 2002. • Nokia is oldest mobile player since 2004. • “NFC forum” founded by Nokia with Sony and Phillips to promote sharing, pairing, and transactions between NFC devices. – 130 countries. – 140 companies. – Samsung, Nokia, Huawei, HTC, Motorola, RIM, LG, Sony Ericsson, – AT&T, Sprint. – Google, Microsoft, Intel, Qualcomm. – PayPal, Visa, Mastercard, American Express.
  • 14.
  • 23. So how’s the future? • Up to 700 million NFC-enabled mobile phones will be sold by 2013 : Jupiter research • Japan: FeliCa, a type of NFC tag being used as primary mode for payment. • Corporations adopting NFC to reduce infrastructure cost and for flexibility. • Based on existing contactless infrastructure.
  • 24. Now NFC with Google Android… • Started support in 2.3(Gingerbread) • Galaxy Nexus, Nexus S, Galaxy S2, LG optimus net • Payments and banking apps • Social apps • Multiplayer games
  • 26. Google Wallet • Mobile payment system. • Allows to store credit cards, loyalty cards, gift cards and more. • Tap to pay with Citi® MasterCard® or the Google Prepaid Card. • Get benefit from sales promotions and coupons. • Secure. Fast. Convenient.
  • 27. Android Beam • Application for easy sharing between NFC enabled Android devices. • Introduced in Android 4.0 (Ice-cream Sandwich). • They say it “incredibly simple”. • For developers to integrate into their applications. • Share videos, music, contacts, applications, game scores….
  • 29. android.nfc • NfcManager • NfcAdapter • NdefMessage • NdefRecord
  • 30. NfcManager • High level manager class • Used to get NfcAdapter instance NfcManager manager = getSystemService(Context.NFC_SERVICE);
  • 31. NfcAdapter • Represents the Device’s NFC adapter. • To disable or enable ‘tag dispatch’ system. • To open an appropriate “Activity” to handle a discovered tag. disableForegroundDispatch(Activity activity) enableForegroundDispatch(Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) disableForegroundNdefPush(Activity activity)
  • 32. Tag dispatch system • To chose most appropriate activity to automatically handle the situation when a ‘tag’ is discovered. • Without user intervention. • Two types: – Foreground: by the present Activity – Background: by the intent messages
  • 33. NdefMessage, NdefRecord • Ndefmessage: – Represents NDEF (NFC Data Exchange Format) data message. – Standard format by NFC forum. – Contains one or more NdefRecord’s. • NdefRecord: – Container for actual data (URI etc). – Contains type info, ID and payload data.