- Mike Duggan

idleheadedceleryMobile - Wireless

Dec 10, 2013 (3 years and 8 months ago)

55 views

-

Mike Duggan


Wireless Communication standard between
two NFC powered devices or an NFC tag and a
NFC device


Low powered radio (4cm range)


Used in phones, tablets and more


Fast, easy sharing/pairing between devices


Ads/Link Information


Bar code replacement


Shares multimedia, contacts


Wireless payment systems (Google Wallet)


Standard kept by the NFC

Forum


Growing


Used in:


Android 4.0 and greater


Windows Phone 8


Blackberry


NFC pairs devices much quicker


NFC uses less power than Bluetooth


Bluetooth has faster data speeds


Bluetooth can handle more data


Phone must be active


NFC must be on


Signal is very weak


Phone security =



NFC security


Google’s Interface for NFC data transfer


Uses Bluetooth to send large data (Android
4.1 and up)


Works with


Contacts, Gmail, Gallery, Play, Maps, Browser, etc.


S
-
Beam


Wifi
-
Direct Transfers


Better for videos


NfcAdapter

class:
getDefaultAdapter
()



Uses NFC Data Exchange Format standard
(NDEF)



NDEF Message in Android:
NdefMessage


Made up of
NdefRecords



4 Components


TNF Type: High
-
level type (3
-
bits)


Type: More Detailed data type


Id: Meta
-
data (not used often)


Payload: Data itself


NdefRecord
(short
TNF_type
, byte[] type,
byte[] id, byte[] payload)



AAR: Android Application Record


createApplicationRecord
(PACKAGE_NAME)


Used to deliver message data from NFC
hardware to specific activity as well as
start
activities


Activity then parses received data



http://
developer.android.com/guide/topics/c
onnectivity/nfc/index.html


http://www.tappednfc.com
/