Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 C# 在 windows mobile 6 上编写一个程序,我希望它每秒从 GPS 模块收集数据。将其存储在手机上的最简单方法是什么?我正在考虑 txt 或 XML 文件。你有什么建议吗?
最简单的方法是使用 txt 文件,因为您可以不断地追加到末尾。
走 XML 路线将需要更多的空间和更多的处理,因为您不能只寻找到最后并附加数据。