• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Maps Intent... how to get a pin?

[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));
startActivity(intent);

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

[/FONT]
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones