Follow

Bind to navigation example

Description

This sample demonstrates how to open Sygic navigation. They key point here is the parameter set in the API function init.
Here we demonstrate binding to Sygic Professional navigation engine, which is represented by the 2nd and 3rd parameters. For other types of navigation you need to change the two parameters as follows.
For Sygic Truck 3D you need to set the parameters to "com.sygic.truck" and "com.sygic.truck.SygicService".
For Sygic Professional you need to set the parameters to "com.sygic.fleet" and "com.sygic.fleet.SygicService".
For Sygic Taxi 3D you need to set the parameters to "com.sygic.taxi" and "com.sygic.taxi.SygicService".

Java

import com.sygic.sdk.remoteapi.Api;
...
private Api mApi;
...
mApi = Api.init(getApplicationContext(), "com.sygic.fleet", "com.sygic.fleet.SygicService", null);
mApi.connect();
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments