Book Image

Near Field Communication with Android Cookbook

By : Subtil
Book Image

Near Field Communication with Android Cookbook

By: Subtil

Overview of this book

An easy-to-follow guide, full of hands-on examples of and real-world applications. Each recipe is explained and placed in context. If you want to learn how to create NFC-enabled Android applications, this is the book for you. Perhaps you already know a bit about Android application developments but have never used NFC, or perhaps you know a little about NFC android development but want some more advanced features and examples. In either case, this book will get you up and running quickly. You are expected to have Android programming knowledge.
Table of Contents (12 chapters)
11
Index

Introduction


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 https://play.google.com/store/apps/details?id=APP_ID). 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...