views:

34

answers:

1

Hello, I have read a lot of stuff about launching Google Maps in Android.

That's pretty easy:

 Uri uri = Uri.parse("geo:38.899533,-77.036476");
Intent it = new Intent(Intent.ACTION_VIEW, uri);
startActivity(it);

The problem is that the map is shown at a high zoom level and there is no marker on the map. So, if the user move a little bit or something happen, the point is lost.

Is that possible to add a marker like this:

http://img.skitch.com/20100820-da3n4r7h5xbsu6bsx4p4ujjghc.jpg

or like this:

http://img.skitch.com/20100820-qg7k2m5wtwm3j5phphrgc8tb53.jpg

So i can be sure that even if the user move the map, he will be able to find this place again.

Thank a lot for any help.