CONTENTS

Chapter 1: Getting Started With Android Programming

What is Android?

Obtaining the Required Tools

Creating Your First Android Application

Anatomy of an Android Application

Summary

Chapter 2: Activities, Fragments, and Intents

Understanding Activities

Linking Activities Using Intents

Fragments

Calling Built-In Applications Using Intents

Displaying Notifications

Summary

Chapter 3: Getting to Know The Android User Interface

Understanding the Components of a Screen

Adapting to Display Orientation

Managing Changes to Screen Orientation

Utilizing the Action Bar

Creating the User Interface Programmatically

Listening for UI Notifications

Summary

Chapter 4: Designing Your User Interface With Views

Using Basic Views

Using Picker Views

Using List Views to Display Long Lists

Understanding Specialized Fragments

Summary

Chapter 5: Displaying Pictures and Menus With Views

Using Image Views to Display Pictures

Using Menus with Views

Some Additional Views

Summary

Chapter 6: Data Persistence

Saving and Loading User Preferences

Persisting Data to Files

Creating and Using Databases

Summary

Chapter 7: Content Providers

Sharing Data in Android

Using a Content Provider

Creating Your Own Content Providers

Using the Content Provider

Summary

Chapter 8: Messaging

SMS Messaging

Sending E-mail

Summary

Chapter 9: Location-Based Services

Displaying Maps

Getting Location Data

Monitoring a Location

Project — Building a Location Tracker

Summary

Chapter 10: Networking

Consuming Web Services Using HTTP ...

Get Beginning Android™ 4 Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.