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

Trusted Contributor
Posts: 109
Registered: ‎11-15-2011
My Device: blackberry 9800
My Carrier: beginner developer

check connection working


I use wifi connection on my blackberry. I have wifi activate on blackberry. But there no connection I can't open web page . How can I check if connection worked? 

I use this code . But I didn't  get the message that connection didn't work

if (CoverageInfo.isOutOfCoverage()) {


Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: check connection working

you can http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/CoverageInfo.html#isCov... to check the general coverage status for a specifc network by using http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/RadioInfo.html#WAF_WLAN
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter