SlideShare una empresa de Scribd logo
1 de 22
NFC and the Salesforce Mobile SDK

Cory Cowgill, West Monroe Partners, Senior Consultant
@corycowgill
Safe Harbor
 Safe harbor statement under the Private Securities Litigation Reform Act of 1995:

 This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if
 any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-
 looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of
 product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of
 management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments
 and customer contracts or use of our services.

 The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
 service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of
 growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks
 associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to
 expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited
 history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that
 could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31,
 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our
 Web site.

 Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may
 not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently
 available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Cory Cowgill
Senior Consultant
West Monroe Partners
@corycowgill
Agenda
   NFC Showcase
   NFC Overview
   Mobile Hybrid Application Architecture
   Use Case Overview and Demo – vCard Cloud Loader
   Source Code Deep Dive
   Q&A
NFC Showcase #1 – Mobile Payments
NFC Showcase #2 – Hotel Key
NFC Showcase #3 – Content Sharing
NFC Overview
   NFC stands for Near Field Communication.
   Allows both active (smartphones) and passive
    (NFC tag) devices to transmit data wirelessly.
   Requires devices to be centimeters apart.
   Based on existing RFID technology.
   NDEF – NFC Data Exchange Format
What can you build with NFC?
    Transaction based applications:
      • Google Wallet
      • iOS Passport (?)
      • Rewards Programs
    Data Sharing Applications
      • Contacts
      • Photos & Videos
      • URL’s
    Task Launchers
      • WiFi Setups
      • Custom Application Triggers
NFC and Device Support
   Operating Systems
     • Currently Available:
         – Google Android
         – Blackberry
     • Rumored or Soon to be Released:
         – iOS 6.0
         – Windows Phone

   Smartphones & Tablets
     • Samsung Galaxy Phones
     • Google Nexus 7 Tablet
Mobile Hybrid Application Architecture
                       Portable Codebase
                         • Core application can run on multiple
                           devices
                       PhoneGap & Plugins
                         • Allows access to hardware API’s from
                           Javascript
Android NFC Tag Dispatch System
                              PhoneGap & Plugins
                                  • PhoneGap NFC Plugin abstracts
                                    NFC Tag Dispatch System
                                  • Ensures that across devices the
                                    different NFC systems
                                    implementations will work with
                                    your mobile application.
Use Case Overview & Demo
  NFC vCard Cloud Loader
    • A mobile application that uploads a NFC tagged business card into Salesforce.com.
    • Application is portable to different mobile operating systems.
    • YouTube Video Demonstration
        – http://www.youtube.com/watch?v=nXq409WsI1E&feature=plcp
    • DeveloperForce Article
        – http://wiki.developerforce.com/page/Developing_Mobile_Applications_That_Support_N
          ear_Field_Communication_(NFC)
Source Code Deep Dive
   Eclipse IDE
   Sourcecode on Github
         – https://github.com/corycowgill/NFC_vCard_Loader

   Code Deep Dive Guideposts
     • 1. Install & Configured the NFC Plugin
     • 2. Register for NFC Events
     • 3. Handle the NFC Read Event
     • 4. Process & Parse the NFC Tag Data
     • 5. Upload to Force.com
Source Code Part 1 – PhoneGap Plugin Install
      Library Downloads
        • Download the .JAR (phonegap-nfc-android.jar) and JavaScript file (phonegap-
          nfc.js) for the plugin.
        • Copy the .JAR file into your applications library folder.
        • Copy the JavaScript file into your applications JavaScript folder.
      HTML Page Includes
        • Include the Javascript libraries in your HTML.
      PhoneGap Plugin Config
        • Update your PhoneGap plugin xml file (plugins.xml) to include the plugin class:
        • <plugin name="NfcPlugin" value="com.chariotsolutions.nfc.plugin.NfcPlugin"/>
      Authorize NFC for the application in the manifest
        •   <uses-permission android:name="android.permission.NFC" />
Source Code Part 2 – Registering NFC Listeners
Source Code Part 3 – Handle NFC Payload
      NFC Read Event
        • “nfcEvent” object will include the tag object
        • Tag object will have the encoded data for reading and writing
Source Code Part 4 – Parse the Tag Data
   Parse NFC Tag Payload
     • Data is NDEF Formatted
     • Data is further encoded as vCard data
     • vCard data manipulation is performed via JavaScript Library
         – https://github.com/mattt/vcard.js
Source Code Part 5 – Upsert Data into Force.com
   Upsert the Contact into Force.com
     • Use the Force.com Mobile Toolkit
     • Pass the Contact record we created from parsing the tag data
     • Display the results on the screen to the end user
Additional Resources
   Force.com Mobile SDK
     • http://wiki.developerforce.com/page/Mobile_SDK
   NFC PhoneGap (Open Source) plugin by Don Coleman
     • https://github.com/chariotsolutions/phonegap-nfc
   vCard JavaScript Library (Open Source)
     • https://github.com/mattt/vcard.js
   NFC vCard Cloud Loader Source
     • https://github.com/corycowgill/NFC_vCard_Loader
   Developer Force Wiki
     • http://wiki.developerforce.com/page/Developing_Mobile_Applications_That_Support_
       Near_Field_Communication_(NFC)
Nfc sfdc mobile_sdk
Nfc sfdc mobile_sdk

Más contenido relacionado

La actualidad más candente

Transition To Saa S The Challenges And Solutions
Transition To Saa S  The Challenges And SolutionsTransition To Saa S  The Challenges And Solutions
Transition To Saa S The Challenges And Solutions
premanand_s
 

La actualidad más candente (20)

Platform Breakout Session - Dreamforce to You
Platform Breakout Session - Dreamforce to YouPlatform Breakout Session - Dreamforce to You
Platform Breakout Session - Dreamforce to You
 
Web Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User ExperienceWeb Application Development Tools for Creating Perfect User Experience
Web Application Development Tools for Creating Perfect User Experience
 
OpenID Certification Program Update - 2018-04-02
OpenID Certification Program Update - 2018-04-02OpenID Certification Program Update - 2018-04-02
OpenID Certification Program Update - 2018-04-02
 
Introduction to Developing Android Apps With the Salesforce Mobile SDK
Introduction to Developing Android Apps With the Salesforce Mobile SDKIntroduction to Developing Android Apps With the Salesforce Mobile SDK
Introduction to Developing Android Apps With the Salesforce Mobile SDK
 
Demystifying AuthN/AuthZ Using OIDC & OAuth2
Demystifying AuthN/AuthZ Using OIDC & OAuth2Demystifying AuthN/AuthZ Using OIDC & OAuth2
Demystifying AuthN/AuthZ Using OIDC & OAuth2
 
Deploy and Secure Your API Gateway with NGINX: From Zero to Hero
Deploy and Secure Your API Gateway with NGINX: From Zero to HeroDeploy and Secure Your API Gateway with NGINX: From Zero to Hero
Deploy and Secure Your API Gateway with NGINX: From Zero to Hero
 
Monitoring NGINX Deployments with Sumo Logic
Monitoring NGINX Deployments with Sumo LogicMonitoring NGINX Deployments with Sumo Logic
Monitoring NGINX Deployments with Sumo Logic
 
OpenID Foundation FastFed Working Group Update - 2017-10-16
OpenID Foundation FastFed Working Group Update - 2017-10-16OpenID Foundation FastFed Working Group Update - 2017-10-16
OpenID Foundation FastFed Working Group Update - 2017-10-16
 
Transition To Saa S The Challenges And Solutions
Transition To Saa S  The Challenges And SolutionsTransition To Saa S  The Challenges And Solutions
Transition To Saa S The Challenges And Solutions
 
Application delivery controllers
Application delivery controllersApplication delivery controllers
Application delivery controllers
 
apidays LIVE Australia 2021 - API Horror Stories from an Unnamed Coworking Co...
apidays LIVE Australia 2021 - API Horror Stories from an Unnamed Coworking Co...apidays LIVE Australia 2021 - API Horror Stories from an Unnamed Coworking Co...
apidays LIVE Australia 2021 - API Horror Stories from an Unnamed Coworking Co...
 
Standardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial ServicesStandardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial Services
 
apidays LIVE Paris 2021 - Why Can’t Us Consumers Have APIs by Salman Farmanfa...
apidays LIVE Paris 2021 - Why Can’t Us Consumers Have APIs by Salman Farmanfa...apidays LIVE Paris 2021 - Why Can’t Us Consumers Have APIs by Salman Farmanfa...
apidays LIVE Paris 2021 - Why Can’t Us Consumers Have APIs by Salman Farmanfa...
 
Extend DevOps to Your SQL Server Databases
Extend DevOps to Your SQL Server DatabasesExtend DevOps to Your SQL Server Databases
Extend DevOps to Your SQL Server Databases
 
Deploy and Secure Your API Gateway with NGINX: From Zero to Hero – APCJ
Deploy and Secure Your API Gateway with NGINX: From Zero to Hero – APCJDeploy and Secure Your API Gateway with NGINX: From Zero to Hero – APCJ
Deploy and Secure Your API Gateway with NGINX: From Zero to Hero – APCJ
 
Qt Webinar: How to improve Qt Productivity on Mobile, Desktop & Embedded with...
Qt Webinar: How to improve Qt Productivity on Mobile, Desktop & Embedded with...Qt Webinar: How to improve Qt Productivity on Mobile, Desktop & Embedded with...
Qt Webinar: How to improve Qt Productivity on Mobile, Desktop & Embedded with...
 
Low code application platforms
Low code application platformsLow code application platforms
Low code application platforms
 
Application Security with NGINX | APAC
Application Security with NGINX | APACApplication Security with NGINX | APAC
Application Security with NGINX | APAC
 
Executing on API Developer Experience
Executing on API Developer Experience Executing on API Developer Experience
Executing on API Developer Experience
 
Pros & Cons of exiting Cross Platform Frameworks
 Pros  & Cons of exiting Cross Platform Frameworks Pros  & Cons of exiting Cross Platform Frameworks
Pros & Cons of exiting Cross Platform Frameworks
 

Destacado

SUPERFUSION FIVE PRESENTATION
SUPERFUSION FIVE PRESENTATIONSUPERFUSION FIVE PRESENTATION
SUPERFUSION FIVE PRESENTATION
Mark Uy
 
Voorstelling KLJ ZiVoHo
Voorstelling KLJ ZiVoHoVoorstelling KLJ ZiVoHo
Voorstelling KLJ ZiVoHo
Berdien Cloet
 
Brands of 2Day Company Profile
Brands of 2Day Company ProfileBrands of 2Day Company Profile
Brands of 2Day Company Profile
BRANDS OF 2DAY
 
How to make a home made drum
How to make a home made drumHow to make a home made drum
How to make a home made drum
Mark Uy
 
Glife International Product Presentation
Glife International Product PresentationGlife International Product Presentation
Glife International Product Presentation
Mark Uy
 
Four spiritual laws
Four spiritual lawsFour spiritual laws
Four spiritual laws
Mark Uy
 

Destacado (17)

SUPERFUSION FIVE PRESENTATION
SUPERFUSION FIVE PRESENTATIONSUPERFUSION FIVE PRESENTATION
SUPERFUSION FIVE PRESENTATION
 
Talend preso (1)
Talend preso (1)Talend preso (1)
Talend preso (1)
 
Voorstelling KLJ ZiVoHo
Voorstelling KLJ ZiVoHoVoorstelling KLJ ZiVoHo
Voorstelling KLJ ZiVoHo
 
HOW TO INTERPRET THE BIBLE
HOW TO INTERPRET THE BIBLEHOW TO INTERPRET THE BIBLE
HOW TO INTERPRET THE BIBLE
 
Aplicación de gestión del conocimiento
Aplicación de gestión del conocimientoAplicación de gestión del conocimiento
Aplicación de gestión del conocimiento
 
Brands of 2Day Company Profile
Brands of 2Day Company ProfileBrands of 2Day Company Profile
Brands of 2Day Company Profile
 
WHO IS THIS MAN? JESUS: THE KING
WHO IS THIS MAN? JESUS: THE KINGWHO IS THIS MAN? JESUS: THE KING
WHO IS THIS MAN? JESUS: THE KING
 
How to make a home made drum
How to make a home made drumHow to make a home made drum
How to make a home made drum
 
Glife International Product Presentation
Glife International Product PresentationGlife International Product Presentation
Glife International Product Presentation
 
Jollibee spaghetti
Jollibee spaghettiJollibee spaghetti
Jollibee spaghetti
 
Df13 cory cowgill_theater_session_mobile_app_field_service
Df13 cory cowgill_theater_session_mobile_app_field_serviceDf13 cory cowgill_theater_session_mobile_app_field_service
Df13 cory cowgill_theater_session_mobile_app_field_service
 
Glorious Mysteries 3: Holy Spirit
Glorious Mysteries 3: Holy SpiritGlorious Mysteries 3: Holy Spirit
Glorious Mysteries 3: Holy Spirit
 
Sorrowful Mysteries 1: Agony
Sorrowful Mysteries 1: AgonySorrowful Mysteries 1: Agony
Sorrowful Mysteries 1: Agony
 
1parte del origen de la vida
1parte del origen de la vida1parte del origen de la vida
1parte del origen de la vida
 
겨울방학과학캠프 제안서
겨울방학과학캠프 제안서겨울방학과학캠프 제안서
겨울방학과학캠프 제안서
 
kompetence of teacher
kompetence of teacherkompetence of teacher
kompetence of teacher
 
Four spiritual laws
Four spiritual lawsFour spiritual laws
Four spiritual laws
 

Similar a Nfc sfdc mobile_sdk

Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.comCreating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Jeff Douglas
 
Building Cross-platform Mobile Apps with Force.com and PhoneGap
Building Cross-platform Mobile Apps with Force.com and PhoneGapBuilding Cross-platform Mobile Apps with Force.com and PhoneGap
Building Cross-platform Mobile Apps with Force.com and PhoneGap
Salesforce Developers
 
Building Cross-platform Mobile Apps with Force.com and PhoneGap
Building Cross-platform Mobile Apps with Force.com and PhoneGapBuilding Cross-platform Mobile Apps with Force.com and PhoneGap
Building Cross-platform Mobile Apps with Force.com and PhoneGap
Salesforce Developers
 
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.comCreating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Salesforce Developers
 
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.comCreating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Salesforce Developers
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Nick Landry
 
Windows phone7 By Subodh
Windows phone7 By Subodh Windows phone7 By Subodh
Windows phone7 By Subodh
Prashant Singh
 

Similar a Nfc sfdc mobile_sdk (20)

Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.comCreating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
 
Gartner Catalyst: How to succeed with your IT Mobile Strategy
Gartner Catalyst: How to succeed with your IT Mobile StrategyGartner Catalyst: How to succeed with your IT Mobile Strategy
Gartner Catalyst: How to succeed with your IT Mobile Strategy
 
Building Mobile Apps on Salesforce Platform with Mobile SDK
Building Mobile Apps on Salesforce Platform with Mobile SDKBuilding Mobile Apps on Salesforce Platform with Mobile SDK
Building Mobile Apps on Salesforce Platform with Mobile SDK
 
Building Cross-platform Mobile Apps with Force.com and PhoneGap
Building Cross-platform Mobile Apps with Force.com and PhoneGapBuilding Cross-platform Mobile Apps with Force.com and PhoneGap
Building Cross-platform Mobile Apps with Force.com and PhoneGap
 
Building Cross-platform Mobile Apps with Force.com and PhoneGap
Building Cross-platform Mobile Apps with Force.com and PhoneGapBuilding Cross-platform Mobile Apps with Force.com and PhoneGap
Building Cross-platform Mobile Apps with Force.com and PhoneGap
 
Quickly Build a Native Mobile App for Your Community Using Salesforce Mobile SDK
Quickly Build a Native Mobile App for Your Community Using Salesforce Mobile SDKQuickly Build a Native Mobile App for Your Community Using Salesforce Mobile SDK
Quickly Build a Native Mobile App for Your Community Using Salesforce Mobile SDK
 
Salesforce Mobile Developer Week
Salesforce Mobile Developer WeekSalesforce Mobile Developer Week
Salesforce Mobile Developer Week
 
Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?
 
Brasil Roadshow
Brasil RoadshowBrasil Roadshow
Brasil Roadshow
 
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.comCreating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
 
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.comCreating HTML5 Applications with jQuery Mobile, Ruby and Database.com
Creating HTML5 Applications with jQuery Mobile, Ruby and Database.com
 
Mobile SDK: Considerations & Best Practices
Mobile SDK: Considerations & Best Practices Mobile SDK: Considerations & Best Practices
Mobile SDK: Considerations & Best Practices
 
Softeq Development Corp.
Softeq Development Corp.Softeq Development Corp.
Softeq Development Corp.
 
March 2014 Meetup - Nokia X Tech Session
March 2014 Meetup - Nokia X Tech SessionMarch 2014 Meetup - Nokia X Tech Session
March 2014 Meetup - Nokia X Tech Session
 
Quickly Build a Native Mobile App for your Community using Salesforce Mobile SDK
Quickly Build a Native Mobile App for your Community using Salesforce Mobile SDKQuickly Build a Native Mobile App for your Community using Salesforce Mobile SDK
Quickly Build a Native Mobile App for your Community using Salesforce Mobile SDK
 
Hands-on Workshop: Intermediate Development with Heroku and Force.com
Hands-on Workshop: Intermediate Development with Heroku and Force.comHands-on Workshop: Intermediate Development with Heroku and Force.com
Hands-on Workshop: Intermediate Development with Heroku and Force.com
 
Location-aware Mobile Apps with Chatter & iBeacon
Location-aware Mobile Apps with Chatter & iBeaconLocation-aware Mobile Apps with Chatter & iBeacon
Location-aware Mobile Apps with Chatter & iBeacon
 
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGapBuilding Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
Building Mobile Cross-Platform Apps with HTML5, jQuery Mobile & PhoneGap
 
Windows phone7 By Subodh
Windows phone7 By Subodh Windows phone7 By Subodh
Windows phone7 By Subodh
 
Intro to AT&T Toolkit for Salesforce Platform Webinar
Intro to AT&T Toolkit for Salesforce Platform WebinarIntro to AT&T Toolkit for Salesforce Platform Webinar
Intro to AT&T Toolkit for Salesforce Platform Webinar
 

Último

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
UK Journal
 

Último (20)

Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptxBT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
BT & Neo4j _ How Knowledge Graphs help BT deliver Digital Transformation.pptx
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 

Nfc sfdc mobile_sdk

  • 1. NFC and the Salesforce Mobile SDK Cory Cowgill, West Monroe Partners, Senior Consultant @corycowgill
  • 2. Safe Harbor Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward- looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of intellectual property and other litigation, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-Q for the most recent fiscal quarter ended July 31, 2012. This documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3. Cory Cowgill Senior Consultant West Monroe Partners @corycowgill
  • 4. Agenda  NFC Showcase  NFC Overview  Mobile Hybrid Application Architecture  Use Case Overview and Demo – vCard Cloud Loader  Source Code Deep Dive  Q&A
  • 5. NFC Showcase #1 – Mobile Payments
  • 6. NFC Showcase #2 – Hotel Key
  • 7. NFC Showcase #3 – Content Sharing
  • 8. NFC Overview  NFC stands for Near Field Communication.  Allows both active (smartphones) and passive (NFC tag) devices to transmit data wirelessly.  Requires devices to be centimeters apart.  Based on existing RFID technology.  NDEF – NFC Data Exchange Format
  • 9. What can you build with NFC?  Transaction based applications: • Google Wallet • iOS Passport (?) • Rewards Programs  Data Sharing Applications • Contacts • Photos & Videos • URL’s  Task Launchers • WiFi Setups • Custom Application Triggers
  • 10. NFC and Device Support  Operating Systems • Currently Available: – Google Android – Blackberry • Rumored or Soon to be Released: – iOS 6.0 – Windows Phone  Smartphones & Tablets • Samsung Galaxy Phones • Google Nexus 7 Tablet
  • 11. Mobile Hybrid Application Architecture  Portable Codebase • Core application can run on multiple devices  PhoneGap & Plugins • Allows access to hardware API’s from Javascript
  • 12. Android NFC Tag Dispatch System  PhoneGap & Plugins • PhoneGap NFC Plugin abstracts NFC Tag Dispatch System • Ensures that across devices the different NFC systems implementations will work with your mobile application.
  • 13. Use Case Overview & Demo  NFC vCard Cloud Loader • A mobile application that uploads a NFC tagged business card into Salesforce.com. • Application is portable to different mobile operating systems. • YouTube Video Demonstration – http://www.youtube.com/watch?v=nXq409WsI1E&feature=plcp • DeveloperForce Article – http://wiki.developerforce.com/page/Developing_Mobile_Applications_That_Support_N ear_Field_Communication_(NFC)
  • 14. Source Code Deep Dive  Eclipse IDE  Sourcecode on Github – https://github.com/corycowgill/NFC_vCard_Loader  Code Deep Dive Guideposts • 1. Install & Configured the NFC Plugin • 2. Register for NFC Events • 3. Handle the NFC Read Event • 4. Process & Parse the NFC Tag Data • 5. Upload to Force.com
  • 15. Source Code Part 1 – PhoneGap Plugin Install  Library Downloads • Download the .JAR (phonegap-nfc-android.jar) and JavaScript file (phonegap- nfc.js) for the plugin. • Copy the .JAR file into your applications library folder. • Copy the JavaScript file into your applications JavaScript folder.  HTML Page Includes • Include the Javascript libraries in your HTML.  PhoneGap Plugin Config • Update your PhoneGap plugin xml file (plugins.xml) to include the plugin class: • <plugin name="NfcPlugin" value="com.chariotsolutions.nfc.plugin.NfcPlugin"/>  Authorize NFC for the application in the manifest • <uses-permission android:name="android.permission.NFC" />
  • 16. Source Code Part 2 – Registering NFC Listeners
  • 17. Source Code Part 3 – Handle NFC Payload  NFC Read Event • “nfcEvent” object will include the tag object • Tag object will have the encoded data for reading and writing
  • 18. Source Code Part 4 – Parse the Tag Data  Parse NFC Tag Payload • Data is NDEF Formatted • Data is further encoded as vCard data • vCard data manipulation is performed via JavaScript Library – https://github.com/mattt/vcard.js
  • 19. Source Code Part 5 – Upsert Data into Force.com  Upsert the Contact into Force.com • Use the Force.com Mobile Toolkit • Pass the Contact record we created from parsing the tag data • Display the results on the screen to the end user
  • 20. Additional Resources  Force.com Mobile SDK • http://wiki.developerforce.com/page/Mobile_SDK  NFC PhoneGap (Open Source) plugin by Don Coleman • https://github.com/chariotsolutions/phonegap-nfc  vCard JavaScript Library (Open Source) • https://github.com/mattt/vcard.js  NFC vCard Cloud Loader Source • https://github.com/corycowgill/NFC_vCard_Loader  Developer Force Wiki • http://wiki.developerforce.com/page/Developing_Mobile_Applications_That_Support_ Near_Field_Communication_(NFC)