- Developers
- Professional Navigation for Fleets
- Android
- FAQ
- How to program back button
How to program back button
The custom URL integration defines several options to control navigation. One of them is the back button control.
In Android programming you can make use of the back button control e.g. to switch from Sygic navigation to your app with a single click in the following way:
String str = "com.sygic.aura://back_button|my.app.package.id";
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(str)));
The my.app.package.id defines the program (Android package) to which you switch when pressing on the back button in the navigation run.
- Previous article: Mass installation from Golden image
- Next article: How to update maps remotely