08-18-2009 04:00 AM
I have a BlackBerry Pearl 8110 and am developing a GPS application that simply get's the location information and sends it to a server. However, every now and again I get locations that are way off in the middle of nowhere. Then, the next point received is ok again. It seems to be random and not happen all the time.
I have implemented the locationlistener interface and am checking the IsValid() state of location before collecting the data.
Does anyone know if this is common in the Pearl or if they could point me in the right direction. this is my setting for the location instane registration if that helps.
_locationProvider.setLocationListener(listener, 5, 1,1);
08-18-2009 06:50 AM
We had same issues with the curve and other BB phones, looks like this happens even more often if the location helper is activated.
But I think theres no way around a verification of your geopoints inside the code..
08-18-2009 04:44 PM
I'll have to look into doing a bit of verification of the points I guess. I'm not sure if I'm activating the location helper. Would I be doing that in code?
The criteria I'm setting when creating my locationprovider is
Criteria c = new Criteria(); c.setHorizontalAccuracy(20); c.setVerticalAccuracy(20); c.setCostAllowed(false);
08-19-2009 02:26 AM
no its inside your gps options, there you can turn off location aiding.