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.
- 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.