user484691
user484691

Reputation: 381

Is there anyway to requestLocationUpdates fast using GPS_PROVIDER in android

I am trying to get the location updates but it takes anything between 30 seconds - 5 mins. So i decided to throw in coarse location which is faster and run the GPS_PROVIDER in background. But no luck. As of now after the coarse location is executed, the control never goes to onLocationChanged in GPS_PROVIDER listener. Is there some way to get the updates faster, so the user does not have to wai long?

Upvotes: 0

Views: 1270

Answers (2)

nicky
nicky

Reputation: 3898

and there is no way to to update fast as it depends on hardware

NETWORK_PROVIDER gives fast as compared to that , but you there must be active network in there .

Upvotes: 0

Anand
Anand

Reputation: 1325

You can use NETWORK_PROVIDER to get fast location

Upvotes: 2

Related Questions