Hi,

You can also use this uri,

uri = Uri.parse("http://maps.google.com/maps?
&saddr=13.042206,80.17000&daddr=9.580000,78.100000");

specify the latitude and longitude of the two locations. Here I
specified the latitudes and longitudes for two cities in India.

Pass this Uri to an intent with action as VIEW. This will open google
map.

Nithin


On Jun 24, 11:09 am, SREEHARI <sreehari.madhusooda...@wipro.com>
wrote:
> Hi,
>
>   Do u want to draw route connecting geo cordinates?? If so you can
> store the geo coordinates and draw. If you want to draw shortest path
> you can use some algorithm like Djikstras.
>
> Regards,
> SREEHARI

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to