Installation of SDK Library

Introduction

In order to install the SDK library you need the navigation+sdk package. If you don't have it please go to Download site.
The installation of SDK library means storing it locally on your computer and have it available for copying or importing into your project(s)

Please note there are two types of installations depending on whether you use standalone or embedded integration.

A. Installation for Standalone integration

Package content

The SDK library for Android in available packages is stored in the following form (may or may not be pruned with your specific package):

SDK\
   Lib\
      3d.ipc\
        RemoteApi.aar
      2d.ipc\
        RemoteApi.aar

Use for compilation

Android projects work so that jar libraries need to be copied to the project's lib folder.
Our SDK library available in SDK/Lib folder contains two sets of jars placed in two subfolders, i.e. for 2D and 3D navigation engine integration. Please select the jar from an appropriate folder for copying to your project lib folder.

B. Installation for Embedded integration

Package content

The SDK library for Android in available packages is stored in the following form (may or may not be pruned with your specific package):

SDK\
   Lib\
      3d.integrated\
        SygicLib.aar
      2d.integrated\
        SygicLib.aar

Use for compilation

E.g. with Android Studio including Sygic library consists of three steps:

  • import SygicLib.aar into the project from your SDK package
    Go through File -> New -> New Module -> Import jar -> Browse for SygicLib.aar
  • add project's library dependency to SygicLib.aar
    Right click on app, then Open Module Settings, then Dependencies, then SygicLib
  • add project's dependency to Google play services
    Right click on app, then Open Module Settings, then Dependencies, then com.google.android.gms.play-service:8.4.0 or newer version