Introducing NFC

Near field communication can be used to exchange data between any pair of NFC equipped devices. When we develop peer-to-peer apps for mobile devices, zero-click interaction via NFC is the key to effortless networking via Bluetooth or Wi-Fi Direct. Support for NFC was first added to Android in 2011 with the release of Ice Cream Sandwich,[195] and although the technology is not yet ubiquitous, most Android phones and some tablets sold in the US today ship with it.

With NFC, we don’t need to make a device discoverable, compare passcodes, or explicitly pair it with another because we establish the NFC network simply by touching one device to another. Only the deliberate back-to-back touch of two devices will trigger an NFC event. ...

Get Rapid Android Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.