我在这里有问题。我想测试我的解析器结果。

我有一个从请求到Google Maps的KML文档。这是我的KML文档:

<Placemark>
<name>Head north on Jalan Kebagusan Raya toward Jalan Anggrek</name>
<description><![CDATA[go 850&#160;m]]></description>
<address>Jalan Kebagusan Raya</address>
....
....
....
</Placemark>


我想将标签<name>保存到变量中。
你能帮我解决我的问题吗?从解析结果中保存一个字符串,一个int甚至是double都很容易。但是要保留这样的句子:“朝着Jalan Anggrek向Jalan Kebagusan Raya靠北”。

最佳答案

这是相同的示例链接

https://github.com/frogermcs/RoutePathExample

关于java - Android-帮助我使用ArrayList,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10615342/

10-10 23:01