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.
我想在我的应用程序上使用位置管理器改进 GPS 位置。我需要一些非常准确的东西。
我使用 Criteria.setAccuray(ACCURACY_FINE) ;
我平均十个位置并使用它
我还能做些什么来提高准确性?
谢谢你的帮助。
您获得的位置有一个准确度参数。取精度最高的位置,如果多个位置具有相同的精度,您可以对它们进行平均。
平均所有十个点实际上会降低整体精度(如果这些点具有不同的精度)。