BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-07-2009, 08:53 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: May 2007
Location: Columbus, OH
Model: 9000
PIN: N/A
Carrier: AT&T
Posts: 62
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default RIM's HTTPDemo and the java.io.IOException: Tunnel failed error

Please Login to Remove!

I am new to Java Development, including the BlackBerry JDE.
Since my goal is to create programs with web browser access, I started working with the HTTPDemo.java code.

I received the "java.io.IOException: Tunnel failed" error.
I thought the Code Signing Keys would resolve it, I was wrong.

I am using WiFi for one testing environment. I found a few references on BlackBerry Forums to ";interface=wifi", but I couldn't determine where to place the parameter.

Here's the correct location:
Code:
private static String SAMPLE_HTTPS_PAGE = "http://(server IP Address)/http.html;interface=wifi";

Last edited by BBFlunkie : 02-21-2009 at 10:30 AM. Reason: Added code frames
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.