March 25th, 2010, 05:21 AM
Thread Author (OP)
Join Date: Jan 2010
Carrier: Not Provided
Thanked 0 Times in 0 Posts
Maps Intent... how to get a pin?
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?
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.