I wanted to know how to switch beteen GPS and Network providers.
Iam now busy with making a program that shows the location of the
phone holder on the google map. I want to make use of both the GPS
provider and the network provider. I prefer using gps. When gps is not
temporarily unavailable then the program chooses for the network
provider. But when the gps is available again I want the program to
use the gps again.
At this moment my program is only able to switch to network provider
when gps is not available but it cant check whether gps is back again.
here is how it is done:
Could someone please tell me how to check the status of the gps while
the location manager is using the Network provider?