SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
droidcon UK 2012


Beaming Data to
  Devices with
      NFC
      Copyright © 2012CommonsWare, LLC
Lodnon 2012 Oimplycs




     Copyright © 2012CommonsWare, LLC
Jimmy B.



  Copyright © 2012CommonsWare, LLC
Q




Copyright © 2012CommonsWare, LLC
NFC: Good for Spies
●   Near Field Communication
●   Configuration-Free
    –   No pairing for a connection
●   Short Distance
    –   Only a few centimeters
    –   Less chance of interception by nefarious no-
        good-niks

                      Copyright © 2012CommonsWare, LLC
Secret Agent Man Sample App




         Copyright © 2012CommonsWare, LLC
NFC: Dead ASCII Drop
●   NFC Tag
    –   Rewriteable or WORM
    –   “Hidden in plain sight” (e.g., behind poster)
    –   Source writes information to tag
    –   Agent reads information from tag, cleans up
         ●   Delete data
         ●   Remove tag
         ●   Destroy building
                           Copyright © 2012CommonsWare, LLC
NFC: Tag Limits
●   Limited Capacity
    –   1KB on down
    –   Compression, encryption will tend to offset one
        another
●   Public
    –   Could be found, read, confiscated


                      Copyright © 2012CommonsWare, LLC
Beam: Up Close... And Personal!
●   Android Beam
    –   NFC P2P
    –   Put devices back to back
    –   One sends, other receives
●   Benefits
    –   Devices in hand at all times
    –   Capacity

                       Copyright © 2012CommonsWare, LLC
AAR: Ahoy, Matey!
●   Android Application Record
    –   Identifies an app that should be able to consume
        this Beam
    –   If nothing seems capable of handling the Beam,
        Android will use AAR record to launch Play Store
    –   Issue: MI6 apps not usually on Play Store



                       Copyright © 2012CommonsWare, LLC
Beam: Performance Anxiety
●   NFC Transfer Rate Limited
    –   Theoretically 424 kbps
    –   In practice, not that fast
●   Net: Still Not Good for Large Transfers
    –   Capacity gated by time to transfer




                        Copyright © 2012CommonsWare, LLC
Uri Beaming: Size Matters
●   Automatic Bluetooth Bootstrapping
    –   NFC to pair devices automatically
    –   Transfer files, designated by Uri values, to the
        other device
●   Benefits
    –   Higher transfer rate
    –   Longer range

                       Copyright © 2012CommonsWare, LLC
Uri Beaming: A Quantum of Issues
●   Android 4.1+
●   OS Receives the File
    –   Not your code
    –   No control over where gets written
●   Greater Interception Risk
    –   Extended range is blessing and curse
    –   Encrypt the data if needed
                        Copyright © 2012CommonsWare, LLC
Beam: Push Uris Are Not Enough
●   May Wish to “Roll Your Own”
    –   Use NFC to bootstrap communications handled
        over other networks with other protocols
●   Possibilities
    –   Bluetooth
    –   Internet
    –   WiFi Direct

                      Copyright © 2012CommonsWare, LLC
Speaker Contact
        Information




                   Sample
SlideShare           App
             Copyright © 2012CommonsWare, LLC

Mais conteúdo relacionado

Semelhante a Beaming Data to Devices with NFC

ABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
ABS 2013: Dive into Android Networking - Adding Ethernet ConnectivityABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
ABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
Benjamin Zores
 
ELCE 2012 - Dive into Android Networking: Adding Ethernet Connectivity
ELCE 2012 - Dive into Android Networking: Adding Ethernet ConnectivityELCE 2012 - Dive into Android Networking: Adding Ethernet Connectivity
ELCE 2012 - Dive into Android Networking: Adding Ethernet Connectivity
Benjamin Zores
 

Semelhante a Beaming Data to Devices with NFC (20)

Securing User Data with SQLCipher
Securing User Data with SQLCipherSecuring User Data with SQLCipher
Securing User Data with SQLCipher
 
The Wonderful World of Wearables
The Wonderful World of WearablesThe Wonderful World of Wearables
The Wonderful World of Wearables
 
Prediction suretogowrong
Prediction suretogowrongPrediction suretogowrong
Prediction suretogowrong
 
Predictions Sure To Go Wrong (droidcon UK 2011)
Predictions Sure To Go Wrong (droidcon UK 2011)Predictions Sure To Go Wrong (droidcon UK 2011)
Predictions Sure To Go Wrong (droidcon UK 2011)
 
Mobile trends and impressions
Mobile trends and impressionsMobile trends and impressions
Mobile trends and impressions
 
Data Con LA 2022 Keynote
Data Con LA 2022 KeynoteData Con LA 2022 Keynote
Data Con LA 2022 Keynote
 
ABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
ABS 2013: Dive into Android Networking - Adding Ethernet ConnectivityABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
ABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
 
ELCE 2012 - Dive into Android Networking: Adding Ethernet Connectivity
ELCE 2012 - Dive into Android Networking: Adding Ethernet ConnectivityELCE 2012 - Dive into Android Networking: Adding Ethernet Connectivity
ELCE 2012 - Dive into Android Networking: Adding Ethernet Connectivity
 
Adding intelligence to your dcim solution rf code
Adding intelligence to your dcim solution rf codeAdding intelligence to your dcim solution rf code
Adding intelligence to your dcim solution rf code
 
Designing Secure Mobile Apps
Designing Secure Mobile AppsDesigning Secure Mobile Apps
Designing Secure Mobile Apps
 
Android
AndroidAndroid
Android
 
Android system security
Android system securityAndroid system security
Android system security
 
What's New in Jelly Bean
What's New in Jelly BeanWhat's New in Jelly Bean
What's New in Jelly Bean
 
Android Hardware That's A Little Bit... Odd
Android Hardware That's A Little Bit... OddAndroid Hardware That's A Little Bit... Odd
Android Hardware That's A Little Bit... Odd
 
Securing Android Applications
Securing Android ApplicationsSecuring Android Applications
Securing Android Applications
 
Mobile Threats and Owasp Top 10 Risks
Mobile Threats  and Owasp Top 10 RisksMobile Threats  and Owasp Top 10 Risks
Mobile Threats and Owasp Top 10 Risks
 
Browsers in a Cloud-Powered World: Geeknet Virtual Trade Show - John Blossom
Browsers in a Cloud-Powered World: Geeknet Virtual Trade Show - John BlossomBrowsers in a Cloud-Powered World: Geeknet Virtual Trade Show - John Blossom
Browsers in a Cloud-Powered World: Geeknet Virtual Trade Show - John Blossom
 
UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke
UXperts 2012: Connectivity Beyond the Web (Android), Friedger MüffkeUXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke
UXperts 2012: Connectivity Beyond the Web (Android), Friedger Müffke
 
Sierraware browser isolation
Sierraware browser isolationSierraware browser isolation
Sierraware browser isolation
 
Device APIs at TakeOff Conference
Device APIs at TakeOff ConferenceDevice APIs at TakeOff Conference
Device APIs at TakeOff Conference
 

Mais de CommonsWare

Gradle and Your Android Wearable Projects
Gradle and Your Android Wearable ProjectsGradle and Your Android Wearable Projects
Gradle and Your Android Wearable Projects
CommonsWare
 

Mais de CommonsWare (20)

Gradle and Your Android Wearable Projects
Gradle and Your Android Wearable ProjectsGradle and Your Android Wearable Projects
Gradle and Your Android Wearable Projects
 
Getting Android Developers for Your Wearables
Getting Android Developers for Your WearablesGetting Android Developers for Your Wearables
Getting Android Developers for Your Wearables
 
When Microwatts Are Precious: Battery Tips for Wearable Apps
When Microwatts Are Precious: Battery Tips for Wearable AppsWhen Microwatts Are Precious: Battery Tips for Wearable Apps
When Microwatts Are Precious: Battery Tips for Wearable Apps
 
The Action Bar: Front to Back
The Action Bar: Front to BackThe Action Bar: Front to Back
The Action Bar: Front to Back
 
Android Security: Defending Your Users
Android Security: Defending Your UsersAndroid Security: Defending Your Users
Android Security: Defending Your Users
 
Secondary Screen Support Using DisplayManager
Secondary Screen Support Using DisplayManagerSecondary Screen Support Using DisplayManager
Secondary Screen Support Using DisplayManager
 
Mastering the Master Detail Pattern
Mastering the Master Detail PatternMastering the Master Detail Pattern
Mastering the Master Detail Pattern
 
Not Quite As Painful Threading
Not Quite As Painful ThreadingNot Quite As Painful Threading
Not Quite As Painful Threading
 
Android Development: The 20,000-Foot View
Android Development: The 20,000-Foot ViewAndroid Development: The 20,000-Foot View
Android Development: The 20,000-Foot View
 
Maps V2... And You!
Maps V2... And You!Maps V2... And You!
Maps V2... And You!
 
A Deep Dive Into ViewPager
A Deep Dive Into ViewPagerA Deep Dive Into ViewPager
A Deep Dive Into ViewPager
 
Second-Screen Support in Android 4.2
Second-Screen Support in Android 4.2Second-Screen Support in Android 4.2
Second-Screen Support in Android 4.2
 
Integrate Android Apps and Web Apps
Integrate Android Apps and Web AppsIntegrate Android Apps and Web Apps
Integrate Android Apps and Web Apps
 
From Android to the Mobile Web
From Android to the Mobile WebFrom Android to the Mobile Web
From Android to the Mobile Web
 
X Means Y
X Means YX Means Y
X Means Y
 
Making Money at Mobile: 60 Business Models
Making Money at Mobile: 60 Business ModelsMaking Money at Mobile: 60 Business Models
Making Money at Mobile: 60 Business Models
 
AppsWorld Keynote
AppsWorld KeynoteAppsWorld Keynote
AppsWorld Keynote
 
App Integration (Revised and Updated)
App Integration (Revised and Updated)App Integration (Revised and Updated)
App Integration (Revised and Updated)
 
Rich Text Editing and Beyond
Rich Text Editing and BeyondRich Text Editing and Beyond
Rich Text Editing and Beyond
 
App integration: Strategies and Tactics
App integration: Strategies and TacticsApp integration: Strategies and Tactics
App integration: Strategies and Tactics
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Último (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 

Beaming Data to Devices with NFC

  • 1. droidcon UK 2012 Beaming Data to Devices with NFC Copyright © 2012CommonsWare, LLC
  • 2. Lodnon 2012 Oimplycs Copyright © 2012CommonsWare, LLC
  • 3. Jimmy B. Copyright © 2012CommonsWare, LLC
  • 5. NFC: Good for Spies ● Near Field Communication ● Configuration-Free – No pairing for a connection ● Short Distance – Only a few centimeters – Less chance of interception by nefarious no- good-niks Copyright © 2012CommonsWare, LLC
  • 6. Secret Agent Man Sample App Copyright © 2012CommonsWare, LLC
  • 7. NFC: Dead ASCII Drop ● NFC Tag – Rewriteable or WORM – “Hidden in plain sight” (e.g., behind poster) – Source writes information to tag – Agent reads information from tag, cleans up ● Delete data ● Remove tag ● Destroy building Copyright © 2012CommonsWare, LLC
  • 8. NFC: Tag Limits ● Limited Capacity – 1KB on down – Compression, encryption will tend to offset one another ● Public – Could be found, read, confiscated Copyright © 2012CommonsWare, LLC
  • 9. Beam: Up Close... And Personal! ● Android Beam – NFC P2P – Put devices back to back – One sends, other receives ● Benefits – Devices in hand at all times – Capacity Copyright © 2012CommonsWare, LLC
  • 10. AAR: Ahoy, Matey! ● Android Application Record – Identifies an app that should be able to consume this Beam – If nothing seems capable of handling the Beam, Android will use AAR record to launch Play Store – Issue: MI6 apps not usually on Play Store Copyright © 2012CommonsWare, LLC
  • 11. Beam: Performance Anxiety ● NFC Transfer Rate Limited – Theoretically 424 kbps – In practice, not that fast ● Net: Still Not Good for Large Transfers – Capacity gated by time to transfer Copyright © 2012CommonsWare, LLC
  • 12. Uri Beaming: Size Matters ● Automatic Bluetooth Bootstrapping – NFC to pair devices automatically – Transfer files, designated by Uri values, to the other device ● Benefits – Higher transfer rate – Longer range Copyright © 2012CommonsWare, LLC
  • 13. Uri Beaming: A Quantum of Issues ● Android 4.1+ ● OS Receives the File – Not your code – No control over where gets written ● Greater Interception Risk – Extended range is blessing and curse – Encrypt the data if needed Copyright © 2012CommonsWare, LLC
  • 14. Beam: Push Uris Are Not Enough ● May Wish to “Roll Your Own” – Use NFC to bootstrap communications handled over other networks with other protocols ● Possibilities – Bluetooth – Internet – WiFi Direct Copyright © 2012CommonsWare, LLC
  • 15. Speaker Contact Information Sample SlideShare App Copyright © 2012CommonsWare, LLC