开发者

Android gps reading

i want to create android app that read the coordinates according to the speed (if the app holder driving ,walking etc.)

if the app want to read the coordinates first ch开发者_Python百科eck the speed of the holder,if he driving slowly then the app read the coordinates in each 10m and if he driving fast the app read the coordinates in each 1km. how can i do that?


You can get the speed using getSpeed()

Based on the speed you can choose to get location fixes every x meters

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜