Start

How to install FatosSDK for Android development

In this section, a guide to set up development environment for FATOS SDK for Android will be introduced. The functions of the SDK are largely composed of map, search, and route planning related operations. The map function can control the map layers, settings, and operation. To use "FATOS SDK for Android", you must request an SDK key and then apply that key to the source. If you want an SDK key, please go to https://onemap-console.fatos.biz and request an SDK key after sign up.

Please let us know if you have any technical problems using our SDK Contact : [email protected]

Development Environment

Clone or download FATOS SDK for Android from https://github.com/devfatoscorp/fatos-android-sdk

Make sure to clone or download from the Clone menu

FATOS SDK for Android is deployed as a form of AAR (Android Archive Package). Therefore, it must be linked within your project.

modify app/build.gradle like as follow:

Permissions

To use FATOS SDK for Android, you must set 3 permission settings

For a flexible navigation feature to be used in your project, your "Application class" and "MainActivity" must be inherited from "ANaviApplication class" and "FMBaseActivity class" respectively.

FATOS SDK for Android requires that Navi Engine initialize. We strongly recommend you do so at onCreate() of MainActivity that extends FMBaseActivity.

To add API key

You must set your API key through FMInterface.initKey() function at onCreate() method in your Application class.

If you haven't got an API key, please visit:

Get your API Key

Last updated

Was this helpful?