I’m developing an application that needs to get location updates fast, doesn’t matter the accuracy of them. I need to be able to get about one reading per second. How can I do this?
I’m developing an application that needs to get location updates fast, doesn’t matter the
Share
Other than specifying
0for both the minimum distance and minimum time values inrequestLocationUpdates(), you have no control over the rate. Android will give you all of the fixes it receives, but whether that is 30 fixes per second or 30 seconds per fix will depend upon hardware, environment (e.g., is the user indoors?), and so forth.