I am using Here SDK version 4.7.4 for the Android navigation app. So, We calculate the route using our web portal and want to use the same route that we calculated(using the web portal by calling here REST API) in the Android Navigation app.
I have searched online for this and unfortunately did not find anything worthful.
Currently, In the Here map Navigation example, It calculates the route using the below lines of code:
Waypoint startWaypoint = new Waypoint(startGeoCoordinates);
Waypoint destinationWaypoint = new Waypoint(destinationGeoCoordinates);
List<Waypoint> waypoints = new ArrayList<>(Arrays.asList(startWaypoint, destinationWaypoint));
routingEngine.calculateRoute(waypoints, new TruckOptions(), calculateRouteCallback);
I want to replace these code by calling another Here SDK method that can return the previously calculated route. And when we start the navigation it should follow the route.