Book Description

Augmented reality (AR) offers a live direct or indirect view of a physical, real-world environment, where the elements and surroundings are augmented by computer-generated sensory input such as graphics and GPS data. It makes a game more real. Your social media app puts you where want to be or go.

Pro Android Augmented Reality walks you through the foundations of building an augmented reality application. From using various software and Android hardware sensors, such as an accelerometer or a magnetometer (compass), you'll learn the building blocks of augmented reality for both marker- and location-based apps.

Case studies are included in this one-of-a-kind book, which pairs nicely with other Android development books. After reading Pro Android Augmented Reality, you'll be able to build augmented reality rich media apps or integrate all the best augmented reality into your favorite Android smartphone and/or tablet.

Table of Contents

  1. Titlepage
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewers
  7. Acknowledgments
  8. Introduction
  9. Chapter 1: Applications of Augmented Reality
    1. Augmented Reality vs. Virtual Reality
    2. Current Uses
    3. Future Uses
    4. Summary
  10. Chapter 2: Basics of Augmented Reality on the Android Platform
    1. Creating the App
    2. Camera
    3. Orientation Sensor
    4. Accelerometer
    5. Global Positioning System (GPS)
    6. Latitude and Longitude)
    7. Sample LogCat Output
    8. Conclusion
  11. Chapter 3: Adding Overlays
    1. Widget Overlays
    2. Markers
  12. Chapter 4: Artificial Horizons
    1. A Non-AR Demo App
    2. An AR Demo App
    3. Summary
  13. Chapter 5: Common and Uncommon Errors and Problems
    1. Layout Errors
    2. Camera Errors
    3. AndroidManifest Errors
    4. Errors Related to Maps
    5. Debugging the App
    6. Miscellaneous
    7. Summary
  14. Chapter 6: A Simple Location-Based App Using Augmented Reality and the Maps API
    1. Editing the XML
    2. Getting API Keys
    3. Java Code
    4. Running the App
    5. Common errors
    6. Summary
  15. Chapter 7: A Basic Navigational App Using Augmented Reality, the GPS, and Maps
    1. The New App
    2. The Completed App
  16. Chapter 8: A 3D Augmented Reality Model Viewer
    1. Key Features of this App
    2. The Manifest
    3. Java Files
    4. XML Files
    5. HTML Help File
    6. Completed App
    7. Conclusion
  17. Chapter 9: An Augmented Reality Browser
    1. The XML
    2. The Java Code
    3. Getting the Data
    4. ScreenPositionUtility
    5. The UI Works
    6. Utility Classes
    7. Components
    8. Customized Widget
    9. Controlling the Camera
    10. The Global Class
    11. Summary
  18. Index