Android Find All locations within a given distance

杀马特。学长 韩版系。学妹 提交于 2019-12-13 02:54:49

问题


I have to make an Android 2.2 application that requires to find all location within a given distance. I have the longitude and latitude for all locations I use in my app, but for example if I want to find only the locations within 5 km how could I do that? I use SQLite so I cannot use functions like cos,sin etc.. I have spent all day long searching for an answer so I would be very grateful if you could help me.

Thanks

来源:https://stackoverflow.com/questions/9791074/android-find-all-locations-within-a-given-distance

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!