views:

100

answers:

4

is there any way to navigate to multiple destinations? like you can do on google maps?

A: 

Could you be a little more specific about what your are trying to achieve, and how you're trying to achieve it?

hpe
sorry :) what I'm trying to achieve is navigate from point A to point B then C then D like in this google map i've set up http://bit.ly/dkwSnd but the adresses would chosen by the user
mars
+1  A: 

There are no documented and supported Intents for use with Google Navigation, sorry.

CommonsWare
that sucks :s can't seem to find a good workaround either :(
mars
+1  A: 

As you probably know you can use the following, undocumented, way to navigate to a destination

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("google.navigation:q=" + mLatitude + "," + mLongitude)));

but, as far as I know, navigation with intermediate points is not possible at the moment.

hpe
sucks :( but then is it maybe possible to get a callback when the user has reached his reached his destination?
mars
You could try using startActivityForResult() instead of startActivity(), but I haven't tried it and I'm not sure that it works.
hpe
+1  A: 

PS! Remember to choose your accepted answer for your question. This will make others more willing to help you in the future :)

hpe