<== Chapter 2 -- Chapter 4 ==>

Chapter 3 - Tango Initialization Helper

So one of the big things we need to do is make sure we correctly load the right version of the Tango API Library. Luckily Google has already designed a nice helper class which I see no reason really changing, but also no reason not to modify it if needed. Tango Initialization Helper Code

  • NOTE: remember that all new code is going in the /main/ folder, not the /test/ or /androidTest/
  • Go to the Project directory on the side and right click the java folder where your MainActivity lives and add a new class called TangoInitializationHelper
    • TangoInitializationHelper Class
  • For this file I would just copy and paste the code sample
    • NOTE: make sure to change the name of the package at the top of the file with your package name

What is this file tl;dr

The idea behind this file is it just looks for the tango by package name and then figures out path to it by type of architecture your phone is.

<== Chapter 2 -- Chapter 4 ==>