Skip to content

Files

Latest commit

Karmveer KumarKarmveer Kumar
Karmveer Kumar
and
Karmveer Kumar
Apr 30, 2025
8210c2c · Apr 30, 2025

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 4, 2025
Apr 30, 2025
Sep 2, 2024
Jul 26, 2023
Aug 4, 2023
Apr 30, 2025
Sep 2, 2024
Jul 26, 2023
Jul 26, 2023
Jul 26, 2023

The Rerouting example app shows how the HERE SDK can be used to how to handle rerouting during guidance.

  • Rerouting is done automatically using the return-to-route feature of the RoutingEngine.
  • This app is meant for in-house testing and therefore it uses simulated location events.
  • The location events are taken from a route that can be the same as the main route shown in blue. Or it can be an alternative route based on the original route with inserted stopover waypoints.
  • The app also shows a maneuver panel with guidance instructions and with optional road shield icons.
  • Road shield icons are shown as on the map view using the IconProvider API from HERE SDK.
  • Note that for this example, the maneuver icons are loaded at app start from the HERE icon library.
  • The app allows to toggle the simulation speed of the driver between 1 (default speed) and 8x faster.
  • The app also shows how to reach an off-road destination with the OffRoadProgressListener.

Build instructions:

  1. Copy the AAR file of the HERE SDK for Android to your app's app/libs folder.

Note: If your AAR version is different than the version shown in the Developer Guide, you may need to adapt the source code of the example app.

  1. Open Android Studio and sync the project.

Please do not forget: To run the app, you need to add your HERE SDK credentials to the MainActivity.java file. More information can be found in the Get Started section of the Developer Guide.