CircleCI codecov

Mapbox Mobile Events

This repository houses the Mapbox Telemetry and Core Libraries for Android.

About libtelemetry

The Mapbox Telemetry Library for Android is used to collect anonymous and aggregated information about Mapbox usage. We use telemetry from all Mapbox SDKs to improve our map, directions, travel times, and search. We collect anonymous data about how users interact with the map to help developers build better location based applications.

Visit https://www.mapbox.com/telemetry for higher-level information about telemetry and data security at Mapbox

About libcore

The Mapbox Core Library for Android is a set of utilities that help you with permissions, device location, and connectivity within your Android project. You can:

Getting Started

If you are looking to include the Core Library inside of your project, please take a look at the detailed instructions found in our docs. If you are interested in building from source, read the contributing guide inside of this project.

The snippet to add to your app-level build.gradle file to use is the following:

// Mapbox Core Library for Android

compile 'com.mapbox.mapboxsdk:mapbox-android-core:0.2.1'

To run the sample code on a device or emulator, include your developer access token in developer-config.xml found in the project.

Documentation

You'll find all of the documentation for the Core Library on our Mapbox Core page. This includes information on installation, using the API, and links to the API reference.

Getting Help

Using Snapshots

If you want to test recent bug fixes or features that have not been packaged in an official release yet, you can use a -SNAPSHOT release of the current development version of the Mapbox Core Library via Gradle, available on Sonatype.

repositories {
    mavenCentral()
    maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
}

dependencies {
    compile 'com.mapbox.mapboxsdk:mapbox-android-core:X.X.X-SNAPSHOT'
}

Sample code

This repo's test app can help you get started with the Core library and to inspire you.

Contributing

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