[android-developers] Load a local KML/KMZ file to a MapView

2010-01-13 Thread Oren Kafka
Hi, How can i load a local (on my HD) KML or KMZ file to the android application? I know that these lines do the work: Intent mapIntent = new Intent(Intent.ACTION_VIEW); Uri uri1 = Uri.parse(geo:0,0?q=http://code.google.com/apis/kml/ documentation/KML_Samples.kml); mapIntent.setData(uri1);

Re: [android-developers] Load a local KML/KMZ file to a MapView

2010-01-13 Thread Frank Weiss
Where's the documentation for using a URI intent with Google Maps? I assume you're trying to use the Android Maps application instead of including a MapActivity within your Android application. In the latter case, you can write your own KML parser and ItemizedMapOverlay to get the sample KML from