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

New Developer
Posts: 119
Registered: ‎10-23-2009
My Device: Not Specified

Connect to internet

I have a problem. My program is coded for 8120 and 8820. Now after finished code, i build to device. But 8120 work very well while 8820 is not. It thrown an exception that is catched by my program "Error contact to server". Afte debug i recognized maybe this exception is from connecting to internet . I tried to debug on Simulator too, it works. But on device when i get StreamConnection, it alway return null. I set for connection is Wifi = true.

Somebody help?

Posts: 68
Registered: ‎09-29-2009
My Device: Not Specified

Re: Connect to internet

First need to download MDS simulator.you can download it from blackberry site:-



after downloading first run MDS(go in start menu and run it) than run the programme.

Most important thing is that you have a connection with no proxy setting on machine.

Posts: 638
Registered: ‎07-02-2009
My Device: Not Specified

Re: Connect to internet

setconnection for wifi as ";interface=wifi". go thru these links for more details,



Thanks and Regards,