Chapter    7

A Basic Navigational App Using Augmented Reality, the GPS, and Maps

In Chapter 6, we designed a simple AR app that would display sensor data over a camera preview and display a location on a map if the device was held parallel to the ground. In this chapter, we will extend this app so that it can be used for basic navigational purposes.

The New App

The extended version of the app will have the following features:

  • When held nonparallel to the ground, the app will display a camera preview with various data overlayed onto it.
  • When held parallel to the ground, a map will be launched. The user can locate the desired location on the map and enable the Tap To Set mode. Once the mode is enabled, the user can tap the desired location. ...

Get Pro Android Augmented Reality 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.