Beginning Android™ 4 Application Development

Book description

Understand Android OS for both smartphone and tablet programming

This fast-paced introduction to the newest release of Android OS gives aspiring mobile app developers what they need to know to program for today's hottest Android smartphones and tablets. Android 4 OS is, for the first time, a single solution for both smartphones and tablets, so if you master the information in this helpful guide, you'll be well on your way to successful development for both devices. From using activities and intents and creating rich user interfaces to working with SMS, messaging APIs, and the Android SDK, what you need is here.

  • Provides clear instructions backed by real-world programming examples

  • Begins with the basics and covers everything Android 4 developers need to know for both smartphones and tablets

  • Explains how to customize activities and intents, create rich user interfaces, and manage data

  • Helps you work with SMS and messaging APIs, the Android SDK, and using location-based services

  • Details how to package and publish your applications to the Android Market

Beginning Android 4 Application Development pares down the most essential steps you need to know so you can start creating Android applications today.

Table of contents

  1. Cover
  2. Contents
  3. Introduction
  4. Chapter 1: Getting Started With Android Programming
    1. What is Android?
    2. Obtaining the Required Tools
    3. Creating Your First Android Application
    4. Anatomy of an Android Application
    5. Summary
  5. Chapter 2: Activities, Fragments, and Intents
    1. Understanding Activities
    2. Linking Activities Using Intents
    3. Fragments
    4. Calling Built-In Applications Using Intents
    5. Displaying Notifications
    6. Summary
  6. Chapter 3: Getting To Know The Android User Interface
    1. Understanding the Components of a Screen
    2. Adapting to Display Orientation
    3. Managing Changes to Screen Orientation
    4. Utilizing the Action Bar
    5. Creating the User Interface Programmatically
    6. Listening for UI Notifications
    7. Summary
  7. Chapter 4: Designing Your User Interface With Views
    1. Using Basic Views
    2. Using Picker Views
    3. Using List Views to Display Long Lists
    4. Understanding Specialized Fragments
    5. Summary
  8. Chapter 5: Displaying Pictures and Menus With Views
    1. Using Image Views to Display Pictures
    2. Using Menus with Views
    3. Some Additional Views
    4. Summary
  9. Chapter 6: Data Persistence
    1. Saving and Loading User Preferences
    2. Persisting Data to Files
    3. Creating and Using Databases
    4. Summary
  10. Chapter 7: Content Providers
    1. Sharing Data in Android
    2. Using a Content Provider
    3. Creating Your Own Content Providers
    4. Using the Content Provider
    5. Summary
  11. Chapter 8: Messaging
    1. SMS Messaging
    2. Sending E-mail
    3. Summary
  12. Chapter 9: Location-Based Services
    1. Displaying Maps
    2. Getting Location Data
    3. Monitoring a Location
    4. Project — Building a Location Tracker
    5. Summary
  13. Chapter 10: Networking
    1. Consuming Web Services Using HTTP
    2. Consuming JSON Services
    3. Sockets Programming
    4. Summary
  14. Chapter 11: Developing Android Services
    1. Creating Your Own Services
    2. Establishing Communication between a Service and an Activity
    3. Binding Activities to Services
    4. Understanding Threading
    5. Summary
  15. Chapter 12: Publishing Android Applications
    1. Preparing for Publishing
    2. Deploying APK Files
    3. Summary
  16. Appendix A: Using Eclipse For Android Development
  17. Appendix B: Using The Android Emulator
  18. Appendix C: Answers To Exercises

Product information

  • Title: Beginning Android™ 4 Application Development
  • Author(s):
  • Release date: March 2012
  • Publisher(s): Wrox
  • ISBN: 9781118199541