Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
Working on a blackberry GPS application, using a LocationListener to get fixes every 10 seconds (in order to keep the GPS chip hot). What I'm experiencing with Sprint is that the initial fix comes in fine, and then I get continuous Invalid Locations. After 5 minutes of invalid locations, I reset the GPS and once again get a valid location followed by all invalid. This is obviously not acceptable when we need to get a fix every 10 seconds or so. I can run the same app on GSM BBs and it works fine, it's only on Sprint (haven't tried other CDMA networks) that it's having this issue.
Here are the settings I'm using (for autonomous mode, no PDE required):
I'm wondering what the recommeded settings are for the interval, maxage and timeout in the setLocationListener call, as we seem to get varying results (although still not working as expected) with smaller values. For example, using 3,1,1 it seems to get invalid fixes most of the time. If anyone can provide any pointers, it would be much appreciated.