Parsing local gpx file in Android

前端 未结 4 1497
闹比i
闹比i 2021-01-02 11:10

I followed this example to parse a local GPX file in Android: http://android-coding.blogspot.pt/2013/01/get-latitude-and-longitude-from-gpx-file.html

All works fine

4条回答
  •  忘掉有多难
    2021-01-02 11:25

    you have the "Node node = nodelist_trkpt.item(i);" in your first loop. Get the child elements from this node an run through these child elements.

    e.g.:

    NodeList nList = node.getChildNodes();
    for(int j=0; j

提交回复
热议问题