java - Problem getting GPS satellites information -


For an Android 2.2 application written in Java 2.2, when I try to get information about GPS satellites , So I have to face a problem. . To deal with GPS incidents, I declare an object generated from makeup in my main activity in the onrock function.

In the execution of the listener , everything is fine when I retrieve an GpsStatus object of a getSatellites a LocationManager From : The application stops with an error message.

With the same object, I can find the time to fix for the first time.

Anyone help me?

Thank you in advance while trying to help you.

It is quite possible that GetSatelites are not giving you the work you need, even if You can work it. Check this for a method to check if you have GPS set (if you are trying to do this).

Comments