TallyGo Android SDK
BETA

The TallyGo Android SDK enables you to embed state-of-the-art real-time navigation into your Android app with virtually no development effort.


Android SDK Features

The TallyGo SDK, built for the future with the following state-of-the-art features, redefines the possibilities of a navigation stack — and what's more, this navigation stack is now yours! Harness its power however you see fit!

  • Turn-by-Turn Navigation
    State-of-the-art navigation system integrates real-time traffic and accident data to provide optimal driving directions to users.
  • Time-Dependent Routing
    Patented routing algorithm calculates the fastest route based on near-future traffic prediction while delivering sub-second response times.
  • Voice Guidance
    A natural-sounding voice provide timely spoken instructions that guide you to your destination.
  • Robust Road Network
    Comprehensive road network data includes accurate exit sign data, time-based turn restrictions, one-way streets, and private roadways.
  • Real-time Traffic
    Intelligent routes use millions of minute-level traffic readings from loop sensors installed in the roads.
  • Real-time Accidents
    Accurate clear times and other meta data are displayed by directly accessing highway patrol data.
  • Contextual Search
    Intelligent search API incorporates multiple search sources (Yelp, Foursquare, OSM) to return location results based on geographic relevance.
  • Advanced Telemetry
    Track driver location granularly, which enables features like displaying driver location to consumers.

Getting Set Up

Approximate time: 2-10 mins

Note: The current version of our SDK is targeted at the most recent SDK 26, with compatibility back to SDK 17 and is optimized for both phone and tablet.

This guide assumes you have an existing app, and are launching the TallyGoActivity from your own Activity. The implementation here is for demonstration purposes — you might want to take a look at our Reference Implementation if you are new to Android or you would like to get started on more complicated uses of our SDK. Feel free to copy any of the code from our Reference Implementations in order to build your own application.

  1. Sign up for a free TallyGo account to get an SDK Access Token
  2. If you haven't done so already, make sure to reference both JCenter and Google's Maven Repository under your project level build.gradle . (You may omit allprojects if you would like to put the repositories under your app build.gradle .)
    allprojects {
        repositories {
            jcenter()
            maven {
                url "https://maven.google.com"
            }
        }
    }
  3. Add the following to your repositories in your build.gradle :
    repositories {
        maven {
            url "https://tallygo.bintray.com/TallyGoAndroid"
        }
    }
  4. Then add this to your dependencies in your build.gradle :
    compile('com.tallygo:tallygo-android:1.1.+@aar') {
         transitive = true
    }
  5. Add <meta-data android:name="tallygo.ACCESS_TOKEN" android:value="@string/tallygo_access_token" /> to your <application> tag inside your AndroidManifest.xml file
  6. Add <string name="tallygo_access_token">YOUR_SDK_ACCESS_TOKEN</string> to your strings.xml file

You're ready to roll with our pre-built TallyGoActivity!

TallyGo

Get Navigation in your App

Approximate time: 22 seconds (may vary depending on typing speed)

Now let's have some fun by adding turn-by-turn navigation to your app! TallyGo can be launched just like any other Activity with three simple lines:

Intent intent = new Intent(this, TallyGoActivity.class);
startActivity(intent);
finish();

Voila! You now have turn-by-turn navigation in your app!


API Documentation

Check out our API Documentation to learn more about the all the features that the TallyGo Android SDK has to offer:

TallyGo Android API Documentation