Skip to content

Most visited

Recently visited

navigation

Add a new dimension with Tango augmented reality

With Tango your users can see more of their world: by holding up their phone, they can watch as virtual objects and information appear on top of their surroundings.

Why it works

Adding augmented reality with Tango enables you to offer a richer, deeper app experience. This experience will engage your users because it adds a new dimension in which they can explore and enjoy your app and their world.

Best practices

  • Familiarize yourself with the technologies used to support Tango — start by reviewing the Concepts Overview page before reviewing Motion Tracking, Area Learning, Depth Perception, and the other supporting technologies.
  • Review the capabilities of the APIs — Java, Unity, and C — to pick the one that best suits your needs.
  • Ensure the Tango framework initializes properly by implementing a shake-detection algorithm and waiting for the user to hold the device still during initialization.
  • Recover when motion tracking system experiences difficulties, by pausing the app and provide instructions to the user on how to restore tracking.
  • Aim to provide at least a 30 fps rate for the app’s visual feedback.
  • Instruct users to walk through an area multiple times and in different directions, to see the area from many viewpoints, to help Tango better ‘understand’ the location.
  • Include a safety warning on the load screen, if you plan to opt your app into Designed for Families. This warning should include an appropriate message about the importance of parental supervision and a reminder to be aware of physical hazards in the real-world (that is, be aware of your surroundings).
  • Ensure your app runs on Tango devices only (if you don’t detect Tango capabilities at runtime, and adjust your application’s features accordingly), add <uses-library android:name="com.projecttango.libtango_device2" android:required="true" /> to your app manifest’s tag.

Examples

Get started

Tango for developers
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.