android - Opening a map with a certain point -


I use the following code:

  Yuri = "ground:" + latitude + "," + Longitude; Intent = new intent (Intent.ACTION_VIEW, Uri.parse (uri)); StartActivity;   

My questions are: 1. I understand that I need an internet connection to use it? Is there a way to show offline maps? 2. It opens the map with the location, but without displaying the point on the map. Anyway to add it with code?

The Android documentation is good here:

  1. An internet connection will be required. Map data is massive and can not be completely cached on your phone. Do not forget to add a line in the manifest which says that your app uses the Internet, there is a way to cache a small area, if you know that you will always work in the same area, but I do not know any other way.

  2. Point to the map, I added to see "overlay" in the link.

    Hope it helps.

Comments