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
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


As a software developer, I have learned that one should never jump steps regarding any new subject. We should always understand how the machine works and what can we do with it. Practicing with some basic examples and some trial and error always helps setting our minds on the right path.

In this chapter, we will perform some basic examples that will allow us to start writing NFC applications and interacting with those awesome stickers called NFC tags.

NFC tags are small electronic stickers without their own power source that can be placed anywhere and contain small blocks of data—typically, URL, contacts, and text. This data can then be read by any NFC-enabled device when there is a communication between the device and the tag; this is typically done by bringing the device very close to the tag. Since the tag has no power source, we can say it is the passive element in the communication and, therefore, the active element is the NFC-enabled device such as a smartphone or an NFC...