Open URLs in Google Maps App


Last Updated:

  1. MaFt

    MaFt New Member This Topic's Starter

    Joined:
    Aug 4, 2009
    Messages:
    2
    Likes Received:
    0
    Not sure if this should be classed as a 'developer' question so please move it if you don't think it's appropriate for here!

    I'm working on an LBS website (http://FindStuffNear.me - UK only POIs) - it is still work in progress but the main parts work. The final search page has a link to Google Maps. Now, the iPhone hijacks any http links to Google Maps pages and shows it in the native maps app (also does similar for YouTube). There is no special code needed for this to happen.

    Is there a way in the Android browser to force links to open in the Google Maps app? Either as javascript or maybe a 'special' url like gmap://maps.google.com?q=.... etc?

    Any help appreciated! Doing a web search for it brings up too much unrelated stuff - you try searching for GOOGLE, MAP and ANDROID!!!

    MaFt
     

    Advertisement
  2. njohnston

    njohnston New Member

    Joined:
    May 11, 2010
    Messages:
    3
    Likes Received:
    1
    I am also very interested in this functionality. I would like to create hyperlinks in a mobile website that will launch Google Maps GPS software in my Incredible and then populate the destination field. Some sort of trick URL would be perfect.
     
  3. ge0rgecz

    ge0rgecz Member

    Joined:
    Nov 4, 2008
    Messages:
    6
    Likes Received:
    0
    you dont need any special link ...

    just use ordinary link to google maps like

    this one http://maps.google.com/maps?hl=en&q=prague,+czech

    link encoded in qr code
    [​IMG]
    use barcode scanner, open it in browser, and your mobile google maps application will be launched automaticaly

    android browser automaticaly detects it and opens it in mobile application google maps for android (or any other installed map application, instead of web service) + user can change this behavior.
     

Share This Page

Loading...