08-30-2009 11:28 AM
Hopefully someone has been able to successfully do this before and knows the answer as we have been beating our heads for days on this. We have read the posting on the wifi connection along with the other threads and tried various implementations without success.
We are attempting to open a tcp /ip connection via wifi to an internal ip address; eg. 192.168.1.99. Inevitably the tunnel connection times out. We have tried interface=wifi, deviceside settings and a combination of the two of them. Of course they work from the simulator since the simulator uses whatever IP connection the development machine has but when we try on a device the connection times out.
Does anyone know the working correct way to open a connection directly from a device specifically;
1) settings for the actual connector call
2) settings on the phone; eg bold to make sure that it can navigate to the internal network
Thanks so much
Solved! Go to Solution.
08-31-2009 10:12 AM
08-31-2009 05:01 PM
Resolved - Found the issue. If you put a semicolon at the end of the parameter list in the url such as:
This will not return an error or exception from the simulator or device but will not do what you expect. It will not use wifi. The parameter blackberry parser in this ignores all parameters and attempts to open the socket without any parameters and thus fails.
This can be especially troublesome if you are programmatically adding the parameters. There should be an exception thrown such as Invalid Parameter List or the like, but there is not.
03-08-2010 12:48 PM
im trying to make a wifi connection( HTTP,HTTPS or Socket doesnt matter what type ! ) to an Access point in my university so that i can get the signal strength from the AP.i have as information the ip adress of the AP,port , login and password
can someone tell me how can i specifiy the informations in my connection?!
i have found this example DB-00532.
but im not sure if this was meant for connection over wifi .
i already watched the videos of NetworkTransport and read about the different connections types but no one covers how to connect with the ip ,login and password .
thx in advance
03-08-2010 01:08 PM
Have you seen/read this post?
Peter Covers most network connection issues, tips, and tricks.
Hope that helps,