Re: [android-developers] Open native Maps with directions??

2010-06-07 Thread Steve Howard
You may find this useful:

http://stackoverflow.com/questions/2853017/android-google-directions

 http://stackoverflow.com/questions/2853017/android-google-directionsSteve

On Fri, Jun 4, 2010 at 5:02 AM, guruk ilovesi...@gmail.com wrote:

 Hi,
 I open my Native Google Maps like:


Uri uri = Uri.parse(geo:0,0?q=Boston);
Intent intent = new
 Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);

 That works fine! BUT... how to open it with a direction request like
 q=Boston+to:+Washington

 that works fine in google maps
 http://maps.google.com/?q=boston+to:+washington

 but doesnt do anything when I try to do the same with the native App
 on my Android Device!?

 thx
 chris

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
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

[android-developers] Open native Maps with directions??

2010-06-04 Thread guruk
Hi,
I open my Native Google Maps like:


Uri uri = Uri.parse(geo:0,0?q=Boston);
Intent intent = new Intent(Intent.ACTION_VIEW, 
uri);
startActivity(intent);

That works fine! BUT... how to open it with a direction request like
q=Boston+to:+Washington

that works fine in google maps
http://maps.google.com/?q=boston+to:+washington

but doesnt do anything when I try to do the same with the native App
on my Android Device!?

thx
chris

-- 
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