1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

Maps intent.... using a pin?

Discussion in 'Android App Developers' started by UNEXPECTED62, Mar 25, 2010.


    UNEXPECTED62 New Member

    Dec 28, 2009
    Likes Received:
    Trophy Points:
    [FONT=Courier, Monospaced]I'm launching google maps via an intent. If I supply a latitude and longitude, no pin will be displayed on the map. Is there a way to explicitly tell google maps to add a pin, and what text to put on it?
    [/FONT][FONT=Courier, Monospaced]
    Intent intent = new Intent(Intent.ACTION_VIEW);
    intent.setData(Uri.parse("geo:" + lat +"," + lon));

    Currently, this just zooms into a low level of the coordinates, with no pin on what I actually marked.
Search tags for this page

android open maps with longitude with pin


creating map intent drop pin android


maps+via+intent+ android


open map via intent with pin