Aditya Gnaneshwar Aditya Gnaneshwar - 1 year ago 150
Android Question

Google Maps Navigation in Android

I am working with Android and building an app that wants to navigate between 2 points. I already have the points with me. I have the route between them as well on google maps. I just want to navigate between them. Could you please help me on this?

Answer Source

Consider you have two locations source, destination, The below code will redirect you to google navigation, Make it as a method and call when ever you want!.. Let me know if you need any other help

Intent intent = new Intent(Intent.ACTION_VIEW, 

Uri.parse("" +

startActivityForResult(intent, 1);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download