I just tested following some links from the Browser on my T-Mobile G1.
A maps URL link opened up a "Complete action using" dialog that
offered to use either the Browser or Google Maps:
<a href="http://maps.google.com/maps?
saddr=42.35892,-71.05781&daddr=40.756054,-73.986951">Test link</a>

A geo URI link opened up the Google Maps app immediately:
<a href="geo:0,0?q=restaurant+near+boston">Test link</a>

So using a geo URI might make launching the Google Maps app more
certain on Android devices that have it. You can't do as much as with
a maps URL, though.

On Oct 21, 8:43 am, MaFt <[email protected]> wrote:
> Hi,
>
> I am developing an LBS-based website specifically targeted at mobile
> phones and wanted to link it with Android's Google Maps app. On the
> iPhone the OS does this automatically i.e. user clicks google map http/
> url link, browser closes, maps app opens up.
>
> Is there a way to do this in android as at the moment it just opens
> the normal google maps website which isn't very mobile friendly! If so
> then I presume it would be some specific 'html' tag or javascript
> solely for Android?
>
> Thanks in advance
>
> MaFt
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to