安卓定位服务
我需要通过走一些小路并定期存储坐标来创建 GPS 坐标数据库。快速发送 GPS 坐标并将其以某种数组形式存储在手机上的最佳方法是什么,以便我以后可以访问这些坐标。我需要能够将它们保存在手机上,然后将它们返回到计算机上。任何提示都会有所帮助。谢谢
I need to create a database of gps coordinates by walking some trails and periodically storing coordinates. What would be the best way to get gps coordinates quickly sent and stored on the phone in an array of some sort so I could later access the coordinates. I need to be able to save them on the phone and then get them back to the computer. Any tips will be helpful. thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个关于获取位置的精彩页面,我会建议您将收到的位置存储在 Sqlite 数据库 中,这意味着位置数据将在您每次运行应用程序时持续存在,这似乎是您所需要的。
当每个位置进入时,您可以将它们存储在数据库中,然后从那里很容易处理它们,例如传递它们。不确定“将它们带回计算机”是什么意思,因为您没有说明原因或以什么格式。
Here's a great page on acquiring location and I'd suggest you store the locations received in a Sqlite database, which means the location data will persist between each time you run the app, which seems like what you need.
As each location comes in, you can store them in the database, and from there it's easy to handle them, e.g. pass them on. Not sure what you mean by "get them back to the computer, as you don't say why or in what format.