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.
我在 android 应用程序中使用 LocationManager 来获取用户当前坐标。它对我来说很好,但第二步我想向用户显示格式化的地址,而不是以 logn 和 lat 格式显示它。你能帮帮我吗?
尝试这个:
Geocoder geocoder = new Geocoder(context); List<Address> address = geocoder.getFromLocation(Latitude, Longitude, 1);