Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DDMS won't load (or doesn't parse?) KML file

Tags:

android

ddms

kml

I can't get DDMS to load any KML files.

I have a KML file for example with the following in it:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
 <Placemark>
   <name>Simple placemark</name>
   <description>Attached to the ground. Intelligently places itself
      at the height of the underlying terrain.</description>
   <Point>
     <coordinates>-122.0822035425683,37.42228990140251,0</coordinates>
   </Point>
 </Placemark>
</kml>

The docs at http://developer.android.com/guide/developing/tools/ddms.html seem to indicate that I only need to launch my app and fire up DDMS and load the KML. That doesn't work.

I even tried the Google Earth solution suggested at the same link.

I'm using SDK 1.5_r2. I am doing something wrong or missing something?

like image 840
Neil Avatar asked Dec 09 '22 20:12

Neil


1 Answers

For those coming here from Google, this is the only online KML conversion tool I've found that will turn a regular KML file into one that DDMS will parse:

http://lab.soledadpenades.com/android/kml/

like image 106
Neil Avatar answered Dec 24 '22 14:12

Neil