Repost from here

I want to draw an overlay using KML files, just look like below but on my own app in MapActivity.

31.kml, display district in Jakarta, Indonesia or the example that I get from googling

I've already tried this code, but it just opens Google map app that already gave me a map with KML overlays.

final Intent myIntent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("geo:0,0? q=http://dl.dropbox.com/u/32264286/Unggahan/31.kml"));startActivity(myIntent);

Is it possible and how can I implement this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.