用于英里记录的Android传感器

编程入门 行业动态 更新时间:2024-10-27 04:24:57
本文介绍了用于英里记录的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传感器

本文发布于:2023-11-24 05:46:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1624147.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:传感器   Android

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!