BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   HTTPConnection problems with TMobile (http://www.blackberryforums.com/showthread.php?t=138588)

nyte3k 07-05-2008 10:12 PM

HTTPConnection problems with TMobile
 
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.

Has anyone else had this issue, and if so, how did you resolve it?

I'm stuck, i've tried everything i know, and nothing seems to work.

John Clark 07-05-2008 10:14 PM

Is it requiring the apn be entered in Options >Advanced Options >TCP?

nyte3k 07-05-2008 10:17 PM

When i go to Options >> Advanced >>TCP
All the data is blank. Am i supposed to enter something there? and if so, is this something most users will have to do as well...is it normal?

John Clark 07-05-2008 10:19 PM

yes.

For TMobile, enter the following:

apn:wap.voicestream.com
username
password

leave username and password blank.

nyte3k 07-05-2008 10:23 PM

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.

John Clark 07-05-2008 10:27 PM

It's possible that your data plan hasn't taken effect.

nyte3k 07-05-2008 10:28 PM

hmmm. Is there a way i can be sure if my data plan is active? I would think gtalk, or others would not work if that was the case.

John Clark 07-05-2008 10:31 PM

Do you have an "Internet Browser?" Do you see EDGE at the top of the device? If so, then your data plan is active. Not sure what else to suggest.

nyte3k 07-05-2008 10:46 PM

hmm i just noticed it said EDGE for like a couple minutes, but for hte most part it's always said UMA. not sure what that means.

John Clark 07-05-2008 10:49 PM

UMA means it's on wifi. You might try turning off wifi and see what happens.

UMA is Unlicensed Mobile Access. It's basically T-Mobile's VoIP.

nyte3k 07-05-2008 10:52 PM

okay after turn off wifi, it says EDGE. I restarted just to be sure. But still no success with application.

nyte3k 07-05-2008 10:54 PM

okay... not it appears my applicatin is connection. strange

nyte3k 07-05-2008 10:55 PM

it just appears to be going in and/out... it will connect sometimes, and sometimes it won.t

skicson 07-06-2008 02:48 PM

what does your connection.open string look like? Are you using ;deviceside=true

Quote:

Originally Posted by nyte3k (Post 1002286)
it just appears to be going in and/out... it will connect sometimes, and sometimes it won.t


alindle 07-06-2008 10:17 PM

what about 8330

nyte3k 08-19-2008 09:42 AM

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.

Thanks!

raj123 08-22-2008 06:44 PM

HttpConnection issue
 
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

nyte3k 08-24-2008 12:28 AM

Quote:

Originally Posted by raj123 (Post 1071244)
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.

nanika 08-24-2008 10:55 AM

In case this is helpful, here are the parameters I add to the URL for various configurations, which appear to be all working correctly:
  • Default (BES) = no string
  • MDS (to force use of an MDS on the BES) = ";deviceside=false"
  • WiFi = ";deviceside=true;ConnectionUID=S TCP-WiFi;ConnectionSetup=delayed;retrynocontext=true" or simply ";deviceside=true;interface=wifi"
  • BIS-B = ";deviceside=false;ConnectionType=mds-public"
  • TCP (requiring a correct WAP configuration)= ";deviceside=true"
I guess the configuration for "BIS-B" is the one you're looking for.

Now, I wish I could determine the right configuration programmatically instead of having the user select his/her configuration.

arunk 08-25-2008 12:23 AM

Hi nanika,

Even I am facing the same problem....

I have a gprs connection.. Can you please tell me for GPRS which configuration we have to specify?


All times are GMT -5. The time now is 11:13 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.