Skip to content Skip to sidebar Skip to footer

Google Navigation Intent

I'm trying to launch Google Navigation directly from my application such that it would navigate me from a start address to a destination address. So I have the Latitude and Longitu

Solution 1:

You can do it this way

Intent intent = new Intent(android.content.Intent.ACTION_VIEW, 
    Uri.parse("http://maps.google.com/maps?saddr=20.344,34.34&daddr=20.5666,45.345"));
startActivity(intent);

Post a Comment for "Google Navigation Intent"