9780071599887

Android A Programmers Guide

by
  • ISBN13:

    9780071599887

  • ISBN10:

    0071599886

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2008-08-20
  • Publisher: McGraw-Hill Osborne Media
  • Purchase Benefits
  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99 Save up to $6.00
  • Buy New
    $33.99

    USUALLY SHIPS IN 3-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The eBook copy of this book is not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Summary

Master the Android mobile development platformBuild compelling Java-based mobile applications using the Android SDK and the Eclipse open-source software development platform. Android: A Programmer's Guide shows you, step-by-step, how to download and set up all of the necessary tools, build and tune dynamic Android programs, and debug your results. Discover how to provide web and chat functions, interact with the phone dialer and GPS devices, and access the latest Google services. You'll also learn how to create custom Content Providers and database-enable your applications using SQLite. Install and configure Java, Eclipse, and Android plugin Create Android projects from the Eclipse UI or command line Integrate web content, images, galleries, and sounds Deploy menus, progress bars, and auto-complete functions Trigger actions using Android Intents, Filters, and Receivers Implement GPS, Google Maps, Google Earth, and GTalk Build interactive SQLite databases, calendars, and notepads Test applications using the Android Emulator and Debug Bridge

Author Biography

Jerome (J. F.) DiMarzio is a senior Web developer with a leading academic development firm. He works in VB.NET, C#, ASP.NET Java, and many other languages.

Table of Contents

Acknowledgmentsp. xiii
Introductionp. xv
What Is Android?p. 1
Brief History of Embedded Device Programmingp. 2
Open Handset Alliance and Androidp. 5
Introduction to Androidp. 6
Downloading and Installing Eclipsep. 9
Why Eclipse?p. 11
Downloading and Installing the JREp. 12
Downloading and Installing Eclipsep. 18
Downloading and Installing the Android SDKp. 21
Downloading the Android SDKp. 24
Downloading and Installing the Android Plugin for Eclipsep. 24
Configuring the Android Plugin for Eclipsep. 30
Exploring the Android SDKp. 35
What Is in the Android SDK?p. 37
Android Documentationp. 38
Android Samplesp. 39
Try This: Run the API Demos Sample Applicationp. 41
Android Toolsp. 45
APIsp. 48
Application Life Cyclep. 49
Standard ASP Application Life Cyclep. 49
Android Application Life Cyclep. 50
Application: Hello World!p. 53
Creating Your First Android Project in Eclipsep. 55
Examining the Android-Created Filesp. 61
AndroidManifest.xmlp. 62
Referenced Librariesp. 62
Directoriesp. 63
Hello World! Againp. 69
Hello World! Using an Imagep. 72
Hello World! Code-Based UIp. 75
Hello World! XML-Based UIp. 78
Try This: Use TextView and ImageViewp. 81
Using the Command-Line Tools and the Android Emulatorp. 83
Creating a Shell Activity Using the Windows CLIp. 84
Running the ActivityCreator.batp. 85
The Project Structurep. 88
Creating the Hello World! Activity in the Windows CLIp. 95
Editing the Project Filesp. 95
Adding the JAVA_HOME Variablep. 96
Compiling and Installing the Applicationp. 97
Hello World! on Linuxp. 109
Configuring the PATH Statementp. 109
Try This: Create an Image-Based Hello World! in the CLIp. 115
Using Intents and the Phone Dialerp. 117
What Are Intents?p. 119
Using the Dialerp. 124
Placing a Call from Your Activityp. 128
Adding the Intent to Your Activityp. 129
Editing Activity Permissionsp. 131
Modifying the AndroidPhoneDialerp. 136
Adding a Buttonp. 136
Implementing an EditText Viewp. 141
Try This: Modify the AndroidPhoneDialer Projectp. 145
Lists, Menus, and Other Viewsp. 149
Building the Activitiesp. 151
Intent Code for the .xml Filep. 152
Intent Code for the .java Filep. 154
Modifying the AndroidManifest.xmlp. 155
Using the Menup. 157
Creating the Activity for AutoCompletep. 163
Buttonp. 173
CheckBoxp. 178
EditTextp. 183
RadioGroupp. 189
Spinnerp. 195
Try This: Modify More View Attributesp. 202
Using the Cell Phone's GPS Functionalityp. 203
Using the Android Location-Based APIp. 204
Creating a kml Filep. 205
What Is a track File?p. 208
Getting the nmea File in Windowsp. 208
Getting the nmea File in Linuxp. 210
Reading the GPS with the Android Location-Based APIp. 212
Creating the AndroidLBS Activityp. 212
Passing Coordinates to Google Mapsp. 222
Adding Zoom Controlsp. 226
Try This: Toggling Between Map View's Standard and Satellite Viewsp. 232
Using the Google API with GTalkp. 239
Configuring the Android Emulator for GTalkp. 241
Implementing GTalk in Androidp. 244
Creating the Activity's Layout in the GoogleAPI.xmlp. 245
Adding Packages to GoogleAPI.javap. 247
Implementing the View.OnClickListenerp. 248
Compiling and Running GoogleAPIp. 252
Try This: Add a Settings Feature to Your GoogleAPI Activityp. 255
Application: Find a Friendp. 257
Creating a SQLite Databasep. 259
Creating a Custom Content Providerp. 263
Editing the strings.xmlp. 263
Creating Your Content Providerp. 265
Creating the FindAFriend Activityp. 276
Editing AndroidManifest.xmlp. 276
Creating the NameEditor Activityp. 278
Creating the LocationEditor Activityp. 283
Creating the FriendsMap Activityp. 293
Creating the FindAFriend Activityp. 299
Running the FindAFriend Activityp. 302
Try This: Real-Time Location Updatingp. 305
Android SDK Tool Referencep. 307
Android Emulator Commandsp. 308
Android Debug Bridge Commandsp. 310
Indexp. 313
Table of Contents provided by Ingram. All Rights Reserved.

Rewards Program

Write a Review