We are developing an application using Location Manager, but when we get location information from WiFi and the network, we may get a location that is completely different from our current location.Is there any problem with using the location acquisition function?
Could you please let me know if there is a solution?
位置Implementation of location acquisition
GPS positioning: LocationManager.GPS_PROVIDER
Network Positioning: LocationManager.NETWORK_PROVIDER
Location information acquisition is calculated based on various information including radio wave conditions and base station distance, and there is no error even if implemented properly.
There are many possibilities such as correction of system errors, correction based on acceleration sensor measurements, and correction based on environmental limitations (except for location information that has moved beyond walking speed if used only).
After clarifying how much error you want to tolerate, battery consumption, calculation time, etc., the app decides what correction you want to make and implements it, and if you know the reason for the error is clearly the app, you may get a specific answer.
© 2024 OneMinuteCode. All rights reserved.