Giter Club home page Giter Club logo

mapbox-navigation-android-examples's Introduction

Mapbox Navigation Android SDK Examples

The repository is a collection of examples showing off the Mapbox Navigation Android SDK. In order to support minSdkVersion 21, Android Auto and preview features, there are three example apps.

  1. app minSdkVersion of 21
  2. app-preview minSdkVersion of 21
  3. android-auto-app minSdkVersion of 23

Installation

Make sure you follow the steps under the Installation guide. Once you have your public and secret access tokens ready, do the following:

  1. git clone [email protected]:mapbox/mapbox-navigation-android-examples.git
  2. Go to app/src/main/res/values
  3. Look for mapbox_access_token.xml
  4. If the file already exists, swap YOUR_ACCESS_TOKEN_HERE with your public access token.
  5. If the file doesn't exist then create one and add the following content to it
    <?xml version="1.0" encoding="utf-8"?>
    <resources xmlns:tools="http://schemas.android.com/tools">
        <string name="mapbox_access_token">YOUR_ACCESS_TOKEN_HERE</string>
    </resources>
    
  6. Ensure that your secret token is added to build.gradle or to global gradle.properties as described in the installation guide.
  7. Run the examples under app.

Getting Help

  • Have a bug to report? Open an issue. If possible, include the version of Mapbox Navigation SDK, and an example that shows the issue.
  • Have an example request? Open an issue. Tell us what the example should do and why you want it.

Contributing

We welcome feedback and code contributions! Please see CONTRIBUTING.md for details.

mapbox-navigation-android-examples's People

Contributors

abhishek1508 avatar cafesilencio avatar kmadsen avatar lukaspaczos avatar ringerjk avatar tomaszrybakiewicz avatar vysotskivadim avatar zayankovsky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.