Results 1 to 3 of 3
- 03-18-2009, 07:57 PM
Thread Author #1
How to connect TCP via Wifi
Hi pros
I've make a new connection with this URL: "HTTP ://mysite//abc.php; deviceside=tru; interface=wifi"
But It could not connected
Please help me - 03-23-2009, 06:02 AM #2
A quote from "What Is - Different ways to make an HTTP or socket connection"
Wi-Fi network
A Wi-Fi enabled BlackBerry smartphone is able to connect over a Wi-Fi network to the BlackBerry® Infrastructure. The BlackBerry Infrastructure exists between a BlackBerry smartphone and the BlackBerry Internet Service or BlackBerry Enterprise Server, allowing for connectivity to these components. A BlackBerry smartphone can also be configured to connect directly to a BlackBerry Enterprise Server using a virtual private network (VPN) connection over a Wi-Fi network. What this means is that applications that are making a connection through a BlackBerry Enterprise Server or BlackBerry Internet Service (options 1 and 2 ) can have their connections automatically routed through a Wi-Fi connection without any special logic required in the application. Applications can also make a connection over a Wi-Fi network directly to their destination server, bypassing the BlackBerry Infrastructure, BlackBerry Enterprise Server and BlackBerry Internet Service. To specify that a connection must be made over a Wi-Fi network, the interface=wifi parameter is used. The following is an example:
(StreamConnection)Connector.open
“socket:// testserver:600;interface=wifi”);
With Http, maybe it would look like this
(HttpConnection)Connector.open(“http ://mysite/abc.php;interface=wifi”); - 04-08-2009, 02:18 AM #3
Blackberry Network Connections
An excerpt from Blackberry Developer Program EMail:
Wi-Fi®
One of the most common questions around networking is how to ensure that Wi-Fi is used whenever available. There are two answers:
1. If your application uses the BlackBerry® Internet Service BIS-B or BlackBerry® Mobile Data Systems (BlackBerry MDS) transports, you will automatically use Wi-Fi when it is available on the device such that your application does not need to make any changes to perform least cost routing of data traffic.
2. If your application uses DirectTCP, WAP2 or WAP1 you will need to detect the availability of Wi-Fi using the WLANConnectionListener interface to then intentionally redirect traffic over the Wi-Fi channel using the ";interface=wifi" parameters.
Also, try a Google search for "Blackberry Network Diagnostic Tool". I would post a link to it here but I don't have enough posts.
Best,
Reply














