I have an application that is trying to establish an http connection. It works fine in the simulator. And when i tired it on a verizon or sprint device, it works fine as well. However on Tmobile(my provider), It appears that my application is not even attempting to make any type of connection.

The web works fine, and other 3rd part apps, like gtalk, facebook etc work. My connection logic is almost identical to the HttpConnection example that RIM offers.

I just tried it, and it appears not to work. I restarted the phone as well. I just got this phone about 5 hours ago, is there some longer waiting period before 3rd party apps will work properly? I read somewhere (on older post) that this could be the case.

Got a PM asking if I resolved this, so I figured i'll post what the problem was..

The issue was the APN settings on my device.

For tmobile, this value had to be set.

Options >> Advanced Options >> TCP >>

for APN, enter the following: wap.voicestream.com
username and password should be left blank.

That resolved it. A reboot may be required.

One other issue a user brought to my attention is that the application may have to have it's permissions changed to 'Allow' in order for it to work as well. (however they were on nTelus, not tmobile)

This can be done by going to Options >> Advanced Options >> Applications

highlight the application, select 'Edit Permissions' from the menu, and change Connections, Interactions, and User Data to 'Allow'. On my device, user data was already set to allow, while connections, and interactions were set to custom, but that worked for me.

I am using a blackberry curve on a T-Mobile network. I am trying to use HttpConnection on my Blackberry application, but it always gives me "invalid tunnel name" error. When I set the APN to wap.voicestream.com, the connection works. But blackberry browser, google maps and variety of other application that uses Internet works fine without setting the APN.
So is there a way by which I can get my application also to work without setting the APN? What is applications like google maps doing special to make it work without setting APN? I am not using BES on my blackberry.

I am using a blackberry curve on a T-Mobile network. I am trying to use HttpConnection on my Blackberry application, but it always gives me "invalid tunnel name" error. When I set the APN to wap.voicestream.com, the connection works. But blackberry browser, google maps and variety of other application that uses Internet works fine without setting the APN.
So is there a way by which I can get my application also to work without setting the APN? What is applications like google maps doing special to make it work without setting APN? I am not using BES on my blackberry.

Thanks.

-Raj

I'm not absolutely sure why, but I did notice that when I ran into this issue. Anyone else know why? This would be interesting to know.