Using gps get the distance a person has walked

前端 未结 3 2031
北荒
北荒 2020-12-18 11:20

guys i am able to get the current location longitude and Latitude using the below code. I have two buttons Start walking and Stop Walking.

Onclick of

3条回答
  •  既然无缘
    2020-12-18 11:55

    First of all. This is more of a ask a question about a problem and then you will receive an answer. People on this board will not do you work for you.

    Now to a way to achieve what you want.

    You need to use a service in order to keep track of the user and the locations. The easy way would be to incorporate the mytracks service which is available as a addon to your application or use code from mytracks in order to create your own tracking service. http://code.google.com/p/mytracks/

    You could check out: http://code.google.com/p/mytracks/w/list

提交回复
热议问题