Currenlty directions are not supported in the API. The best approach
would be to start an activity that will cause the map application to
open.
Example:
startActivity(new Intent(Intent.ACTION_VIEW,
Uri.parse("http://maps.google.com/maps?f=d&saddr="
+ currentLocation +
"&daddr=" + fullAddress +"@" + lat
+","+ lon)));
On Wed, Oct 1, 2008 at 6:10 AM, mscwd01 <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> I am wanting to use the directions functionality present within the
> web based google map api within an Android project. Firstly I am just
> checking if the Android SDK allows for use of directions? I had a
> quick look through the documentation but I couldnt find it mentioned
> anywhere.
>
> I do hope they havent left it out as its one of the most useful
> features. Can it be used?
>
> If not is there a workaround which could be used I.e. calling the web
> based maps api somehow to get directions?
>
> Thanks
>
> >
>
--
~chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---