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  




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