Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 490
Registered: ‎07-16-2008
My Device: Not Specified

How to detect GPS weakness?

Hi guys,

Anyway happy new year.


I am working on application working with GPS and I wanna display GPS signal indicator on my application, so to do this I need to know GPS weakness of the device... is there any way to detect how weak GPS signal is ?
Please refer the image and you'll know what I wanna display.


I want to do like blow.


Tnx guys'

Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: How to detect GPS weakness?

[ Edited ]

As far as I know there is no such approach for GPS exists.


GPS service can be in available/temporary_unavailable/out_of_service state (check LocationProvider class javadoc)


to get this state use getState() method of LocationProvider


In JDE 4.7.0 there is a new class net.rim.device.api.gps.GPSInfo


and there are several constants defined for getLastGPSError() method of GPSInfo class.



Message Edited by tbilisoft on 02-01-2009 10:34 AM