14.01.2013 Views

Android™ Application Development - Bahar Ali Khan

Android™ Application Development - Bahar Ali Khan

Android™ Application Development - Bahar Ali Khan

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 />

covered, you can move on to the remaining chapters, which look at maps, location-based Services, background<br />

applications, and more advanced topics such as hardware interaction and netwoking.<br />

What You Need to Use This Book<br />

To use the code samples in this book, you will need to create an Android development environment by<br />

downloading the Android SDK libraries and developer tools and the Java development kit. You may<br />

also wish to download and install Eclipse and the Android Developer Tool plug-in to ease your development,<br />

but neither is a requirement.<br />

Android development is supported in Windows, MacOS, and Linux, with the SDK available from the<br />

Android web site.<br />

You do not need an Android device to use this book or develop Android applications.<br />

Chapter 2 outlines these requirements in more detail as well as describing where to download and how<br />

to install each component.<br />

Conventions<br />

To help you get the most from the text and keep track of what’s happening, I’ve used various conventions<br />

throughout the book.<br />

Notes, tips, hints, tricks, and asides to the current discussion are offset and placed in italics like this.<br />

As for styles in the text:<br />

❑ I show URLs and code within the text like so: persistence.properties.<br />

❑<br />

❑<br />

I present code in two different ways:<br />

I use a monofont type with no highlighting for most code examples.<br />

I use gray highlighting to emphasize code that’s particularly important in<br />

the present context.<br />

In some code samples, you’ll see lines marked as follows:<br />

or<br />

[… previous code goes here …]<br />

[… implement something here …]<br />

This represents an instruction to replace the entire line (including the square brackets) with<br />

actual code, either from a previous code snippet in the former case, or your own implementation<br />

in the latter.<br />

xix

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

Saved successfully!

Ooh no, something went wrong!