如何prepare KML文件Android模拟器控制? [英] How to prepare KML file for Android Emulator Control?

查看:470
本文介绍了如何prepare KML文件Android模拟器控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想测试我的位置信息的应用程序。 你知道模拟器控制必须从KML文件加载的能力。 (Eclipse的 - > DDMS - >模拟器控制 - >位置控制 - > KML - >加载KML ...) 我已经使用谷歌地球应用程序的添加路径prepared KML文件。然后将其保存以.kml扩展并加载它在Eclipse。 Eclipse中没有加载这个KML文件。

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.

如何prepare KML文件Android模拟器控制?

How to prepare KML file for Android Emulator Control?

推荐答案

我已经找到了解决方案: KML格式为:

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>

这篇关于如何prepare KML文件Android模拟器控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆