I have a simple Android app which should be able to allow navigation between 2 GeoPoint‘s.
I can easily display a GeoPoint on Waze, writing this small piece of code:
String uri = "waze://?ll=40.761043, -73.980545&z=10";
startActivity(new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri)));
But, what I really need is a way to display navigation directions between 2 points.
I’ve tried to locate the correct BroadcastReciever in the Waze source, but I stopped follow when it got to native calls (JNI) because I have no idea where the actual call is… I reached only to the URIHandler signature, with no success finding the implementation…
Any ideas?
Thanks.
If this is still relevant you can use this: