Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6355647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:48:29+00:00 2026-05-24T22:48:29+00:00

From my app I would like to start the Google Maps App with a

  • 0

From my app I would like to start the Google Maps App with a provided location and a marker. The marker should indicate, that there is something on that given location.

For now, I have the following code, which starts with an Intent the Google Maps App with the provided location (51.49234, 7.43045).

startActivity(
new Intent(
    android.content.Intent.ACTION_VIEW, 
    Uri.parse("geo:51.49234,7.43045")));

When the Google Maps App starts, it looks like the following:
enter image description here

No marker is shown. I would like, that the Google Maps App would show a marker on that position, which is given through the Intent. Is there any “hidden” Intent URI’s which I can use to show a marker within the Google Maps App?

Thanks in advance.

Solution

@Rajiv M. pointed me to the idea of querying the surroundings with the given location.

So, the solution is: Query the surroundings of your given location with your given location as the parameter. The URI looks like:

geo:51.49234,7.43045?q=51.49234,7.43045

Google Maps will show the query-result as the street name:
enter image description here

Kind of a hack, but it seems to work well.

Why you should not use 0,0 as the map location

geo:0,0?q=51.49234,7.43045

When you start Google Maps App with the provided map location point 0,0 , Google Maps App will start searching for your current device position. And this takes time. In some cases, when GPS signal is not provided, way too much. Until then the Google Maps App will start searching for your query 51.49234,7.43045.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T22:48:31+00:00Added an answer on May 24, 2026 at 10:48 pm

    Try starting Google Maps using the same intent, but with a URI of the format:

    geo:34.067214,-118.349332?q=410+Hauser+Boulevard,+Los+Angeles,+CA
    

    i.e. geo:0,0?q=street+address

    The application should then actually show a point at that address. If you do not have the address, you may have to use a service to translate it to an address for this to work.

    –

    The other option is to embed a MapView in your application and add a marker within that. A tutorial for using MapViews / Markers with-in your application can be found at http://mobiforge.com/developing/story/using-google-maps-android.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app that would benefit from google-style autocompletion while filling in an
I would like to start using Google App Engine for java . But i
I have an WinMo app and I would like to open a file from
How would you query Picasa from a Google App Engine app? Data API or
I would like to create a Web App for device. For that I would
I would like to create a REST interface for my Java Google App Engine
I would like to start a file download from a clickevent in my gwt
I would like to start a process from my application with Process.Start() and I
I have an app that I would like to add a blog to. I'd
I want to start the Maps application from my app. A pin with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.