introduction to nfc
Post on 08-Aug-2015
72 Views
Preview:
TRANSCRIPT
11/10/12 Mutual Mobile India 2
Origin What is NFC How NFC works What can you do using NFC What is an NFC tag NFC Implementation Demo
http://developer.android.com/guide/topics/connectivity/nfc/index.html
Agile ManifestoAgenda
11/10/12 Mutual Mobile India 3
In 2004 Nokia, Philips and Sony established the Near Field Communication (NFC) Forum In 2006 Initial specifications for NFC Tags In 2006 Nokia 6131 was the first NFC phone In 2010 Samsung Nexus S: First Android NFC phone shown Available from GingerBread in Android
Origin
11/10/12 Mutual Mobile India 4
Short range wireless (1-4cm typical, 10cm theoretical) Speed (106 to 424 kbps) Low friction setup (no discovery, no pairing) Passive targets ( no batteries) Operation frequency is 13.56MHz on ISO/IEC 18000-3 Consumes less power
What is NFC?
11/10/12 Mutual Mobile India 6
How NFC works
NFC is based on RFID technology that uses magnetic field induction to enable communication between electronic devices in close proximity.
For two devices to communicate using NFC, one device must have an NFC reader/writer and one must have an NFC tag. The tag is essentially an integrated circuit containing data, connected to an antenna, that can read and written by the reader.
11/10/12 Mutual Mobile India 7
Download music or video from a smart poster.
Exchange business cards, Pay bus or train or air fare, Parking Tickets, Pay at Kiosks, Pay and purchase at Point of Sale Terminals
Access controls in office, hotels, airports ,home etc.
What can you do using NFC
11/10/12 Mutual Mobile India 8
NFC tags are passive devices that can be used to communicate with active NFC devices (an active NFC reader/writer)
Types of Tags: Topaz Mifare Ultralight Sony Felica Mifare Classic
What is an NFC tag
11/10/12 Mutual Mobile India 9
Tag Standard Read-Write capable Read-only Memory Communication speed
NFC tag factors
11/10/12 Mutual Mobile India 11
Get NFC Adapter Enable foreground dispatch Check whether the tag is writable Create NDEF Message with data to be written Write the message to the Tag
NFC Writer
11/10/12 Mutual Mobile India 12
NFC Reader
Add intent-filter in the manifest Get the Intent Check the MIME type Get the NdefMessage from the intent Get the Ndefrecords from the NdefMessage
11/10/12 Mutual Mobile India 13
Add Permission (android.permission.NFC)
Add uses-feature (android.hardware.nfc)
Add intent-filter for the ReaderActivity
<intent-filter> <action android:name="android.nfc.action.NDEF_DISCOVERED" /> <data android:mimeType="application/vnd.mutualmobile.easyinventory" /> <category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Changes in Manifest
11/10/12 Mutual Mobile India 14
Easy Inventory POC
Launchpad URL :****************SVN URL :********************
Demo
top related