Book Image

Near Field Communication with Android Cookbook

By : Vitor Subtil
Book Image

Near Field Communication with Android Cookbook

By: Vitor Subtil

Overview of this book

Table of Contents (17 chapters)
Near Field Communication with Android Cookbook
About the Author
About the Reviewers


The Android system provides an NFC functionality called Android Beam. This functionality allows users to use NFC not only to read and write tags, but also to share content directly between devices. By default, it allows users to share URLs, contacts, and applications (not really the .apk file but at the Play Store address at This is a great tool for users to interact with other users and easily share content between them. There is no faster way for sharing URLs or contacts than this way! In this chapter, we will learn how to use it.

Android Beam is just a cool name for the Android feature that uses Simple NDEF Exchange Protocol (SNEP). This protocol is defined by the NFC Forum and allows an NFC-enabled device to exchange NDEF messages with another NFC Forum device while operating in the peer-to-peer mode. SNEP is built on top of the NFC Logical Link Control Protocol (LLCP) that defines an OSI layer-2 protocol to support peer...