在Android中记录GPS位置 [英] Logging GPS locations to file in Android
本文介绍了在Android中记录GPS位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个定期获取GPS更新的Android应用程序。如果我想在一个文件中存储纬度,经度,速度,海拔高度等,最好的做法是什么? 解决方案
我建议你使用一个数据库 - 他们是为了这样的任务。这是一个Android数据库教程: http://www.vogella.de/articles/AndroidSQLite/ article.html
I have an Android application that periodically gets GPS updates. If I wanted to store the lat, lon, speed, altitude etc. in a file, what is the best practice for doing this?
解决方案
I'd suggest you use a database - they were made for tasks like this. Here is an Android database tutorial: http://www.vogella.de/articles/AndroidSQLite/article.html
这篇关于在Android中记录GPS位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文