Skip to content

mapbox/dash-android-examples

Repository files navigation

Before using the Software, developers must contact Mapbox as described at https://docs.mapbox.com/android/navigation/build-with-uxframework/installation/ to request access to the Dash SDK. Both the Software and the Dash SDK are in private preview and are made available to developers for the limited purpose of evaluating Dash SDK in internal, non-production environments only.

Mapbox Dash Android SDK Examples

The repository is a collection of examples showing off the Mapbox Dash Android SDK.

Installation

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

Build the project

  1. git clone git@github.com:mapbox/dash-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 settings.gradle.kts or to global gradle.properties as described in the installation guide.
  7. Run the examples under app.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages