Hi,
This will help you.Pass in the source and destination points and you'll get
the directions.
Intent mapIntent = new Intent(Intent.ACTION_VIEW,
Uri.parse("http://maps.google.com/maps?f=d&saddr=
"+sourceLat+","+sourceLongt+"&daddr="+destLat+","+destLongt+""));
mapintent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(mapIntent);
On Tue, Jun 2, 2009 at 8:39 PM, Tushar <[email protected]> wrote:
>
> Hi,
>
> We can launch default map application using the Intent specified at
> http://developer.android.com/guide/appendix/g-app-intents.html.
>
> This launches maps application for one specified location . Is there
> any way to inform the application to also draw directions between to
> geo points also ?
>
>
> Thanks ,
>
> Tushar
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---