tana
tana

Reputation: 585

PhoneGap/Cordova Get Number of GPS Satellites

I need to check how many GPS satellites which is connecting with device. I know how to do that on Android native app (how to get satellite name or number when we are getting location through GPS in Android?).

But, I need how to do that in phonegap/cordova hybrid application.

Thanks.

Upvotes: 2

Views: 603

Answers (2)

AlexWien
AlexWien

Reputation: 28767

Since ios does not provide the number of satellites, and since phone gap is designed as a subset of functionality that runs on all phoneplattform, the num satellites is not available.
Further today the number of satellites is of little use, today phones use at least a combination of the US GPS and the Russion GLONASS. Thus always having many satellites in view, even in urban canyons.

You cannot use the num of satellites as a quality indicator. Use horicontal acuracy estimate for that purpose. Both android and ios provide that (check if phone gap provides, this, too)

Upvotes: 0

Víctor
Víctor

Reputation: 3039

There is not anything developed to achieve that. If you want, you should make a plugin based in that android functions.

Upvotes: 2

Related Questions