Sygic

Navigation SDK

Back to Sygic

Custom URL scheme for Android 3D

Introduction

With the Android Custom URL scheme you can implement a simple integration of your application with Sygic navigation.

Example with Android programming

With your Android application you can start the Sygic navigation and directly open it on a specified address using this snippet.

String lon = "15.06591";
String lat = "47.73341";
String type = "drive";
String str = "com.sygic.aura://coordinate|" + lon + "|" + lat + "|" + type;
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(str)));

Example using HTML

This HTML web page example shows 4 hyperlinks to start Sygic navigation for showing the predefined locations and driving to the locations.

  <body>
    SLOVAKIA 48.159673,17.111206
    <a href="com.sygic.aura://coordinate|17.12812|48.15594|show">Sygic show</a>
    <a href="com.sygic.aura://coordinate|17.12812|48.15594|drive">Sygic navigate to</a>
    USA (Illinois) 41.87985,-87.636395
    <a href="com.sygic.aura://coordinate|-87.636395|41.87985|show">Sygic show</a>
    <a href="com.sygic.aura://coordinate|-87.636395|41.87985|drive">Sygic navigate to</a>
  </body>

Reference

name URL scheme Example
show map on an address com.sygic.aura/address | country or country ISO code | city | postal | street | house number | type com.sygic.aura://address|SVK|Bratislava|85101|Einsteinova|21|show
drive to an address com.sygic.aura/address | country or country ISO code | city | postal | street | house number | type com.sygic.aura://address|SVK|Bratislava|85101|Einsteinova|21|drive
walk to an address com.sygic.aura/address | country or country ISO code | city | postal | street | house number | type com.sygic.aura://address|SVK|Bratislava|85101|Einsteinova|21|walk
show map on coordinates com.sygic.aura://coordinate | lon | lat | type com.sygic.aura://coordinate|15.06591|47.73341|show
drive to coordinates com.sygic.aura://coordinate | lon | lat | type com.sygic.aura://coordinate|15.06591|47.73341|drive
walk to coordinates com.sygic.aura://coordinate | lon | lat | type com.sygic.aura://coordinate|15.06591|47.73341|walk
activate license with product code com.sygic.aura://activate|productCode com.sygic.aura://activate|2637-A356-563C-F156
start navigation and login with username com.sygic.aura://login | username | password com.sygic.aura://login|jsmith@company.com|$js!PsW
update specific map or all maps com.sygic.aura://update | map com.sygic.aura://update|fra   ,   com.sygic.aura://update|all
show sygic products' shop com.sygic.aura://mysygic com.sygic.aura://mysygic
show product detail from shop com.sygic.aura://mysygicproduct | productId com.sygic.aura://mysygicproduct|22945
buy a license for a product com.sygic.aura://mysygicbuy | productId com.sygic.aura://mysygicbuy|22945
restore all purchases com.sygic.aura://restore com.sygic.aura://restore
play gps nmea log from Res/gpslogs com.sygic.aura://gpslog | nmeafile com.sygic.aura://gpslog|mytraveltest.nmea
standard android geo function geo:parametrization geo:47.6,-122.3

License terms

Integrating with the URL scheme is restricted to Personal usage.
For Commercial usage of the URL scheme please contact our sales representatives.