O'Reilly logo

Near Field Communication with Android Cookbook by Vitor Subtil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a basic peer-to-peer Hello World application

In this recipe, we will create a simple project that allows us to understand the basics of the Android Beam functionality and what we need to do to make it work. The knowledge acquired in this recipe will be used in each of the rest of the recipes in this chapter.

Getting ready

We need the following settings for this recipe:

  • Make sure you have a working Android development environment. If you don't, ADT Bundle is a good kit to start with. You can download it from http://developer.android.com/sdk/index.html.
  • Make sure you have an NFC-enabled Android device or a virtual test environment—refer to the Testing your app all together recipe in Chapter 1, Getting Started with NFC.
  • It will be assumed that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required