Install

This page will guide you through the instructions to install the SDK. You will first need to add the SDK as a dependency and add permissions.

SDK versions

1minSdkVersion : 14,
2targetSdkVersion : 28,
3compileSdkVersion: 28,

Dependency

Implement the dependencies in app level gradle file:

1// navigation SDK
2implementation 'ai.nextbillion:nb-navigation-android:0.0.1'
3// navigation map
4implementation 'ai.nextbillion:nb-maps-android:0.0.1'

Permissions

1<uses-permission android:name="android.permission.INTERNET" />
2<!-- to know where are you-->
3<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
4<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
5<!-- continue running even when the user isn't interacting with the app -->
6<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
Initialize
DIDN'T FIND WHAT YOU LOOKING FOR?