Table of Contents:
  • Working with Arbitrary XML Resource FilesWorking with Raw Resources; Working with Assets; Reviewing the Resources Directory Structure; Resources and Configuration Changes; Reference URLs; Summary; Chapter 4 Understanding Content Providers; Exploring Android's Built-in Providers; Exploring Databases on the Emulator and Available Devices; Quick SQLite Primer; Architecture of Content Providers; Structure of Android Content URIs; Structure of Android MIME Types; Reading Data Using URIs; Using the Android Cursor; Working with the where Clause; Passing a where Clause Through a URI.
  • Title Page; Copyright Page; Contents at a Glance; Table of Contents; Foreword; About the Authors; About the Technical Reviewer; Acknowledgments; Preface; Chapter 1 Introducing the Android Computing Platform; A New Platform for a New Personal Computer; Early History of Android; Delving Into the Dalvik VM; Understanding the Android Software Stack; Developing an End-User Application with the Android SDK; Android Emulator; The Android UI; The Android Foundational Components; Advanced UI Concepts; Android Service Components; Android Media and Telephony Components; Android Java Packages
  • Includes bibliographical references and index
  • Loading and Running the Notepad ApplicationDissecting the Application; Examining the Application Lifecycle; Debugging Your App; Launching the Emulator; StrictMode; References; Summary; Chapter 3 Understanding Android Resources; Understanding Resources; String Resources; Layout Resources; Resource Reference Syntax; Defining Your Own Resource IDs for Later Use; Compiled and Uncompiled Android Resources; Enumerating Key Android Resources; String Arrays; Plurals; More on String Resources; Color Resources; Dimension Resources; Image Resources; Color-Drawable Resources
  • Using Explicit where ClausesInserting Records; Adding a File to a Content Provider; Updates and Deletes; Implementing Content Providers; Planning a Database; Extending ContentProvider; Fulfilling MIME-Type Contracts; Implementing the Query Method; Implementing an Insert Method; Implementing an Update Method; Implementing a Delete Method; Using UriMatcher to Figure Out the URIs; Using Projection Maps; Registering the Provider; Exercising the Book Provider; Adding A Book; Removing a Book; Getting a Count of the Books; Displaying the List of Books; Resources; Summary
  • Taking Advantage of Android Source CodeThe Sample Projects in this Book; Summary; Chapter 2 Setting Up Your Development Environment; Setting Up Your Environment; Downloading JDK 6; Downloading Eclipse 3.6; Downloading the Android SDK; Updating Your PATH Environment Variable; The Tools Window; Installing Android Development Tools (ADT); Learning the Fundamental Components; View; Activity; Intent; Content Provider; Service; AndroidManifest.xml; Android Virtual Devices; Hello World!; Android Virtual Devices; Exploring the Structure of an Android Application; Analyzing the Notepad Application