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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 49
Registered: ‎07-16-2008
My Device: Not Specified

Problem in Wi-Fi Connection

Hi,

 

The Wi-Fi Network connection throwing an IOException "java.io.IOException: Open tunnel - max timeout"

 

This is the request i used :

StreamConnection stream = (StreamConnection)Connector.open("http://mob.i-waves.com/ServerWebApp/Sathyam/sathyamjava.asp?id=1|*;interface=wifi");

 

I m using JDE - 4.3.0 and BB device simulator 8120.

 

Should i change any setting in my simulator to make it run?

 

I think i m missing something here.

 

Thanks

 

 

 

 

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

Re: Problem in Wi-Fi Connection

[ Edited ]

Do you have started MDS simulator along with your device simulator ?

 

MDS simulator provides internet access  to the device simulator.

Message Edited by tbilisoft on 09-01-2009 01:05 PM
Developer
Posts: 5,339
Registered: ‎09-20-2008
My Device: ***
My Carrier: ***

Re: Problem in Wi-Fi Connection

You can download MDS Simulator from here:

 

https://www.blackberry.com/Downloads/entry.do?code=060AD92489947D410D897474079C1477

 

It is listed as "Blackberry Email and MDS Services Simulator Package"

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Problem in Wife Connection

I didn't think the Simulator supported Wi-Fi, or does that depend on the device?  I will have to give it try!

 

Rather than running the MDS Simulator, you can just append ";deviceside=true" to the connection URL (in pace of anything else) and that will work on the simulator.  Using ";deviceside=true" will test your network processing, but clearly not whether Wi-Fi works!  I'll have a go at testing this and come back to you, unless someone else already knows if you really can use ";interface=wifi" on the simulator?

New Developer
Posts: 49
Registered: ‎07-16-2008
My Device: Not Specified

Re: Problem in Wi-Fi Connection

Hi,

 

I have started MDS.

 

And i also tried using http Connection:

 

conn = (HttpConnection)Connector.open(url+";interface=wifi");

 

But no luck.

 

Still i m having same exception : java.io.IOException: Open tunnel - max timeout

 

Thanks.

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Problem in Wi-Fi Connection

Found it:

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=12151&query.id=40...

 

Sorry you can't test ";interrace=wifi" on the simulator. Smiley Sad

Highlighted
New Developer
Posts: 49
Registered: ‎07-16-2008
My Device: Not Specified

Re: Problem in Wi-Fi Connection

Hi,

 

Thanks tor your reply.