10-02-2012 05:34 AM
Hi, I'm developing a BlackBerry application that send periodically GPS positions to a server.
I have a problem with some locations when the BlackBerry is stopped inside buildings without GPS coverage. The BlackBerry continues giving GPS positions but are something like 'random', not far from correct position but very inaccurate (I guess it happens in residential zones with possibly several Wi-Fi (secured) networks around).
As example, I post an image showing my BlackBerry giving positions all night without moving:
Playing with GPS parameters, I have set a 20 'metersAccuracy', also I've tested some settings in 'Criteria' of 'LocationProvider' like 'costAlloved' and 'speedAndCourseRequired', but I have the same behavior.
Do you know what could be happening and hove to solve it? I'd like that if BlackBerry doesn't have real GPS coverage it doesn't give me any location.
10-02-2012 07:33 AM
10-02-2012 11:36 AM - edited 10-02-2012 11:37 AM
I thought that I could use a locationprovider setting 'setCostAllowed(false)' to only use BlackBerry GPS, too.But it doesn't seems to do nothing, at least with my problem. Also I've found in BlackBerry settings, under 'GPS configuration' (localization config) an option called 'localization help' (sorry, direct translation from spanish) that, from the description, seems to do the same that 'setCostAllowed' and may do it to work wrong but I have no idea, neither.
10-02-2012 11:38 AM