Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Near Field Communication with Android Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Near Field Communication with Android Cookbook

Near Field Communication with Android Cookbook

By : Subtil
4 (1)
close
close
Near Field Communication with Android Cookbook

Near Field Communication with Android Cookbook

4 (1)
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)
close
close
11
Index

Configuring the Connection Center tool

The Connection Center tool is like a bridge for communication between our AVD and our NFC Simulator. It just needs some simple configuration to provide smooth communication.

Getting ready

The following are the settings required for this recipe:

  • Make sure you have downloaded Open NFC SDK Edition—refer to the Downloading Open NFC SDK Edition recipe.
  • It's assumed that the Open NFC SDK Edition Core is already downloaded and extracted to the NFCBook folder in your home directory.
  • The .NET framework 2.0 or later must be installed. It can be downloaded directly from Microsoft Download Center, that is, http://www.microsoft.com/download.

How to do it…

We are going to configure the Connection Center tool properly to recognize our virtual device as follows:

  1. Open Explorer and go to the Open NFC SDK Edition folder.
  2. Open the folder named connection_center.
  3. Start Connection Center by right-clicking on Connection Center.exe and selecting Run as administrator.
  4. The program automatically starts hidden in the taskbar. Right-click on the icon labeled Connection Center and select Show from the context menu.
  5. Click on the Connection tab and configure it as shown in the following screenshot:
    How to do it…
  6. Restart the Connection Center tool.
  7. Click on the Connection tab and verify whether the changes were saved.

How it works…

Since our AVD and our PC are two different machines even though the AVD is running on our PC, we need to "tell" the Connection Center tool to allow incoming and outgoing connections from other machines. This way, our AVD is able to connect to the Connection Center tool and vice versa.

Note

If the Windows firewall asks you to add an exception, please do so. The Connection Center tool needs to access the network.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Near Field Communication with Android Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon