Welcome!

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

Reply
Contributor
hassan_buttar
Posts: 31
Registered: ‎06-29-2010
My Device: 9550
My Carrier: telenor gsm

Internet connectivity

Hello every one I need to check that weather my BB is connected to internet Orr not Currently I m using this but the following only gives me formation about WIFI connection and Regarding internet I get the information after a long time out I just want a check that can check weather I have internet Orr not I m using BB9550 simulator and MDS for internet..Plz Help me Its urgent... if (field == clearButton) { clearTextFields(); } else if (field == loginButton) { if(WLANInfo.getWLANState()==WLANInfo.WLAN_STATE_CONNECTED) { login(); } else { Dialog.alert("NO Wifi Conection trying Local Internet"); login(); } }
Please use plain text.
Trusted Contributor
rrr_04
Posts: 177
Registered: ‎03-02-2010
My Device: Not Specified

Re: Internet connectivity

[ Edited ]
Please use plain text.
Developer
nitinverma274
Posts: 950
Registered: ‎06-22-2010
My Device: 9550

Re: Internet connectivity

U have to Start MDS, Just on clicking MDS cs.

 

Ur Simulator will connect to the Internet.

Please use plain text.
Contributor
hassan_buttar
Posts: 31
Registered: ‎06-29-2010
My Device: 9550
My Carrier: telenor gsm

Re: Internet connectivity

I really appreciate your help but sir is there any short way to check that weather I m connected to internet Orr not

 

 

By the way thank you very much for your time

Please use plain text.
Developer
filiussoft
Posts: 106
Registered: ‎06-18-2009
My Device: Bold

Re: Internet connectivity

if you just need to verify if you actually have a connection on the simulator through MDS, you could start the Browser and browse to like any address.  If the page loads, you got MDS running properly.

----
If this helped you, press the thumbs up button (on the far right - '+' thumb icon)
If this post solved the issue, click "Accept as Solution"
Please use plain text.
Trusted Contributor
rrr_04
Posts: 177
Registered: ‎03-02-2010
My Device: Not Specified

Re: Internet connectivity

Please use plain text.
Contributor
hassan_buttar
Posts: 31
Registered: ‎06-29-2010
My Device: 9550
My Carrier: telenor gsm

Re: Internet connectivity

From checking internet connection I means in my application making some checks like the given code I have tried but it didn't works still ant help PlZ.....:smileyhappy:

Please use plain text.