27.02.2013 Views

NFC Application Development for Android

NFC Application Development for Android

NFC Application Development for Android

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

INTRODUCTION<br />

iv<br />

Chapter 7 and Chapter 8 contain material on peer-to-peer mode, in a <strong>for</strong>mat similar to the previous<br />

two chapters.<br />

Chapter 9 contains some in<strong>for</strong>mation on card emulation (CE) mode. The details of CE mode are not<br />

covered in this book <strong>for</strong> two main reasons. The potential audience <strong>for</strong> CE mode seems very small<br />

when compared to the other modes. The standards of the other modes (i.e., reader/writer and peerto-peer)<br />

are mostly well established, whereas fi nalized standards <strong>for</strong> CE mode programming on<br />

<strong>Android</strong> technology are still missing. Hence, it will be better to wait <strong>for</strong> the introduction of fi nalized<br />

CE programming standards <strong>for</strong> <strong>Android</strong>.<br />

HOW THIS BOOK IS STRUCTURED<br />

This book is structured in a top-down fashion. The chapters are isolated from each other, so that<br />

readers who have enough knowledge on the topic can just skip that chapter. The chapters are not integrated<br />

with each other in any way. The only exception is that dual chapters are created <strong>for</strong> the reader/<br />

writer (Chapter 5 and Chapter 6) and peer-to-peer (Chapter 7 and Chapter 8) operating modes — the<br />

earlier chapter explains how to program using the related mode, and the later one provides examples<br />

of that mode. Hence, the reader who does not have a complete understanding of programming using<br />

the related mode should read both chapters, while the reader who is confi dent about the programming<br />

of that mode can skip the earlier chapter and browse the later one containing the examples.<br />

WHAT YOU NEED TO USE THIS BOOK<br />

For <strong>NFC</strong> programming on <strong>Android</strong>, fi rst you need to create an <strong>Android</strong> development environment.<br />

The most suitable way to do that is to install <strong>Android</strong> <strong>Development</strong> Tools (ADT) Bundle. ADT is<br />

available on Windows, MAC, and Linux operating systems. Moreover, in order to test <strong>NFC</strong> reader/<br />

writer mode applications, you need to have an <strong>NFC</strong>-enabled mobile phone and an <strong>NFC</strong> tag; in order<br />

to test <strong>NFC</strong> peer-to-peer mode applications, you need to have two <strong>NFC</strong>-enabled mobile phones; and<br />

in order to test card emulation mode applications, you need to have an additional Java Card that can<br />

be plugged-in to the mobile phone.<br />

The source code <strong>for</strong> the samples is available <strong>for</strong> download from the Wrox website at:<br />

www.wrox.com/remtitle.cgi?isbn=1118380096<br />

CONVENTIONS<br />

To help you get the most from the text and keep track of what’s happening, we’ve used a number of<br />

conventions throughout the book.<br />

NOTE Notes indicates notes, tips, hints, tricks, or and asides to the current discussion.<br />

As <strong>for</strong> styles in the text:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!