Skip to content
main
Switch branches/tags
Code

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 and Android Auto, there are two example apps.

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

Installation

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

app

  1. git clone git@github.com: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. 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.

About

No description, website, or topics provided.

Resources

License

Packages

No packages published

Languages