Saturday, August 27, 2011

[Google Maps API v2] Re: opening google map link in android or iphone native app

On Android this behavior is controlled by the device's Launcher
application (i think!).

On an Android device if you click a link to maps.google.com the
Launcher should know what applications are installed on the device
that can handle the link and offer the user a choice of 'what
application do you want to open this link with'.
At the same time it'll give the user a checkbox with the option
'remember this setting'.

So the user defines which application will open the link and i think
there is no way for you to (programatically) make the choice.
Remember not all Android devices will have the native Google Maps
application installed.

I have no experience of iphone so can't comment on that.

Martin.

On Aug 27, 11:16 am, obruening <ollibruen...@googlemail.com> wrote:
> i have a mobile website with links to google maps.
>
> i want to open these maps not in the web browser, but in the native
> google maps app on iphone or android. how can this be done? i have
> seen links that cause to start of the native app, for example:
>
> http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=625+Nelso...

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate