Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prepare KML file for Android Emulator Control?

I am trying to test my application with location information. You know the Emulator Control has an ability to load from KML file. (Eclipse -> DDMS -> Emulator Control -> Location Controls -> KML -> Load KML...) I've prepared KML file using Google earth application with its "Add path". Then saved it by .kml extension and load it on the Eclipse. Eclipse didn't load this KML file.

How to prepare KML file for Android Emulator Control?

like image 455
AndroiDBeginner Avatar asked Jan 21 '10 12:01

AndroiDBeginner


People also ask

What is a KML file extension?

KML is a file format used to display geographic data in an Earth browser such as Google Earth. KML uses a tag-based structure with nested elements and attributes and is based on the XML standard.

How do I open a KML file?

On chrome go to https://www.google.com/earth/ • Click Launch Earth in Chrome. Click the Menu button on the left side navigation bar. Click Settings. Scroll to the bottom of the settings and where it says Enable KML file import turn it on then click save.


1 Answers

I've found solution : KML format is :

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.x">
<Placemark>
    <name>1</name>
        <Point><coordinates>-109.0450005395891,33.39487928579279,0</coordinates></Point>
</Placemark>
</kml>
like image 54
AndroiDBeginner Avatar answered Oct 13 '22 13:10

AndroiDBeginner