Reputation: 2087
Is there a way to get number of satellites using fused location?
I tried using this
location.getExtras().getInt("satellites")
but it didn't work
Then I tried using GpsStatus
but I can't use it cause I am not using the LocationManager
.
Upvotes: 2
Views: 1079
Reputation: 51
Unfortunately, Fused Location does not have the sattelites information when you Location.getExtras()
. You would basically get a NullPointerException
.
As you said, GpsStatus
is the only way to do it.
Upvotes: 3