本文介绍了用于英里记录的Android传感器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建一个记录里程的应用程序。这应该是一个反击。它应该有一个启动按钮,启动计数器并计算驾驶时的里程和停止的停止按钮。然后它应该在本地保存里程。有帮助吗?我在Android工作室创建它。我需要使用传感器还是谷歌地图?在此先感谢
I'm creating an app that logs miles. This should be a counter. It should have a start button that starts the counter and counts the miles as you drive and a stop button that stops. Then it should save the miles locally. Any help? I'm creating it in Android studio. Will I need to use a sensor or maybe like Google Maps? Thanks in advance
推荐答案在这个例子中,我个人无法看到传感器将如何提供帮助。 Sensors OverView [ ^ ] Google地图可能是最终版你需要的地方,但计划旧的GPS就是你所需要的。 这样的东西将是一个很好的起点 编程 - gps-on-android-and-calculation-distance-between-two-geographic-locations / [ ^ ] 我敢肯定,如果你点击谷歌比我有更多你可能会想出其他的例子。 这里的搜索词总是值得一试 Android gps [ ^ ] 希望有帮助 / Darren I personally can't see how sensors are going to help in this example. Sensors OverView[^] Google Maps may be the final place you need to be but plan old GPS is all you need. Something like this would be a good starting point programming-gps-on-android-and-calculating-distance-between-two-geographic-locations/[^] I'm sure if you hit google more than I have you may come up with other examples. It's always worth a punt on here with the search term Android gps[^] Hope it helps /Darren
更多推荐
用于英里记录的Android传感器
发布评论