You could use something like this:
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse(http://maps.google.com/maps?saddr=20.344,34.34daddr=20.5666,45.345;));
startActivity(intent);
You can use an actual street address instead of latitude and longitude.
However this will
This code will work on any SDK.
What matters here is the version of google maps that is on the device.
The navigation features were added in google maps version 3.2.1 as far as i
know.
On Sun, Jan 3, 2010 at 9:28 AM, kautilya imtheno...@gmail.com wrote:
Hi Declan ,
Thanks for your code .
code working very smoothly on SDK 2.0.1
Intent i = new Intent(Intent.ACTION_VIEW,
Uri.parse(google.navigation:q=New+York+NY));
startActivity(i);
Thanks Declan .
On Dec 18 2009, 1:39 am, Declan Shanaghy dec...@350nice.com wrote:
Sorry but that's just a web URL, not the Navigation App.
I
Hi Declan ,
Thanks for your code . it's working very well But only with SDK 2.0.1.
Thanks
kautilya
--
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
Sorry but that's just a web URL, not the Navigation App.
I found out how to do it by applying a bit of guesswork after reading this
page (suggested previously by Lance, thanks Lance)
http://developer.android.com/intl/zh-CN/guide/appendix/g-app-intents.html
Intent i = new
for opening in navigation mode try this--
Intent navigation = new Intent(Intent.ACTION_VIEW, Uri.parse(“http://
maps.google.com/maps?
saddr=42.35892,-71.05781daddr=40.756054,-73.986951”));
startActivity(navigation);
where saddr = latitude and longitude of starting point.
and daddr = latitude
Do you mean the Google Maps app? For that you can use an intent with
an ACTION_VIEW action and URI like this:
geo:0,0?q=my+street+address
Documented on this page:
http://developer.android.com/intl/zh-CN/guide/appendix/g-app-intents.html
On Dec 11, 4:48 pm, Declan Shanaghy dec...@350nice.com
Well yes it is the maps app but i want to launch in in Navigation mode, not
just a plain ole map.
This is for a Droid specific app, which has Android 2.0 with Google
Navigation.
On Fri, Dec 11, 2009 at 4:37 PM, Lance Nanek lna...@gmail.com wrote:
Do you mean the Google Maps app? For that you
8 matches
Mail list logo