Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 9 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,15 @@
[![Build Status](https://www.bitrise.io/app/a7eea7d04be1e2e5.svg?token=OruuJNhnjyeRnlBv0wXsFQ&branch=master)](https://www.bitrise.io/app/a7eea7d04be1e2e5)
[![](https://www.mapbox.com/android-sdk/images/service-splash.png)](https://www.mapbox.com/android-sdk/#mapbox_android_services)

# Mapbox Android Services (MAS)

Java and Android libraries for Mapbox APIs.

## Installation

We recommend installing this library with Gradle. This will automatically install the necessary dependencies and pull the library binaries from the Mapbox Android repository on Maven Central.
[![Build Status](https://www.bitrise.io/app/a7eea7d04be1e2e5.svg?token=OruuJNhnjyeRnlBv0wXsFQ&branch=master)](https://www.bitrise.io/app/a7eea7d04be1e2e5) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.mapbox.mapboxsdk/mapbox-android-services/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.mapbox.mapboxsdk/mapbox-android-services)
<a href="http://www.methodscount.com/?lib=com.mapbox.mapboxsdk%3Amapbox-android-services%3A1.1.0"><img src="https://img.shields.io/badge/Methods count-core: 113 | deps: 30073-e91e63.svg"></img></a>

To install the current _release_ version add this to your `build.gradle`:

```

dependencies {
compile ('com.mapbox.mapboxsdk:mapbox-android-services:1.0.0-SNAPSHOT@aar'){
transitive=true
}
}
```

To install the current _SNAPSHOT_ version add this to your `build.gradle`:
# Mapbox Android Services (MAS)

```
repositories {
mavenCentral()
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
}
An open source toolset for building applications that need directions, geocoding, or static map imagery. Two libraries are at your disposal: a **Java library** compatible with any Java application and an **Android library** intended to be used specifically for Android applications.

dependencies {
compile ('com.mapbox.mapboxsdk:mapbox-android-services:1.1.0-SNAPSHOT@aar'){
transitive=true
}
}
```
### Installation
To install and use MAS in an application, see the [Mapbox Android Services website](https://www.mapbox.com/android-sdk/#mapbox_android_services).

## Sample code
### Sample code

Check the [Test App](https://github.com/mapbox/mapbox-java/tree/master/libandroid/app) for a complete demo app using this library.
Check the [Test App](https://github.com/mapbox/mapbox-java/tree/master/libandroid/app) for a complete Android demo app using this library. You can also visit the [Mapbox Android SDK examples page](https://www.mapbox.com/android-sdk/examples/) for additional code examples.