Like This

lunes, 1 de junio de 2015

KML,KMZ to Google Earth Android


To open google earth with a kml from code



it's  so easy . just with the nect code

File KML = new File("/sdcard/doc.kml");
 Intent i = getPackageManager().getLaunchIntentForPackage("com.google.earth"); i.setDataAndType(Uri.fromFile(KML), "xml");
 startActivity(i);


 
Design by ThemeShift | Bloggerized by Lasantha - Free Blogger Templates