01-07-2009 12:04 PM
I am working on a project targeted at users on multiple carriers with and without access to a BES. I am using the deviceside=true parameter to force HTTP connections to use direct TCP. In testing this on multiple carriers it seems that many do not include the APN settings by default. T-Mobile and Rogers are two examples I have encountered so far. I obviously don't want users to have to tweak TCP settings for my app to work so I read the KB doc on specifying the APN in the connection parameters. This does indeed work, and by using special case logic for each carrier, my app now works on Verizon, T-Mobile and Rogers. The logic I am using to identify the carriers looks like the following:
private boolean onTMobile()
return RadioInfo.getCurrentNetworkName() != null &&
e") != -1;
I have two questions: 1) is using special-case logic for each carrier to specify the apn the way other third party apps deal with direct TCP? and 2) is my approach to identifying the carriers robust? I looked into the MNC bu **bleep** seems each carrier can use multiple MNCs.
01-07-2009 01:59 PM
1) Don't know about other people, but we do this.
2) Because some of our code runs on older devices, we actually search the Service Books for something that identifies the carrier.
Be advised, in the UK, we only have a few carriers, so your mileage may vary.....
01-08-2009 10:57 AM
2) is my approach to identifying the carriers robust?
What happens when you have the same carrier in different countries with a different APN?
(eg. T-Mobile US vs T-Mobile UK)
01-18-2009 04:33 AM
Im new to development and wants to develop an application that will run on all carriers.
Im using following url:
My application is not running on T-mobile? Is there anything to add here.
Also what type of settings to be done or what parameters to be added in url to run application on EDGE, 3GP
You have done this. Please help me. Im not able to get anything.
01-19-2009 11:33 AM
You need to include the apn settings for T-Mobile.
If you search for blackberry apn on google you should be able to find similar information for other carriers.
01-19-2009 11:54 AM - edited 01-19-2009 11:56 AM
For your info, T-Mobile UK may use WAP2 settings. Check for service books for cid WPTCP and look for "wap2" (ignoring case) in the service book name. If you find a WPTCP/wap2 entry (and book is valid) (and book is not disabled) use it in your connection string, e.g ;deviceside=true;ConnectionUID=<the-uid-from-the-s
I haven't found any other WAP2 providers in the UK - they need APN'age. O2 needed manual APN; Vodafone UK has two possible APNs (annoying!); Orange UK i have had little time to test with but i think i used APN for that; Three UK untested.
01-19-2009 12:07 PM
I using following url in making httpConnection
for T-mobile apn=wap.voicestream.com and for Orange apn=orange
When i connect to my server without writing anything in outstream i am able to do so.(get method)
When i try to send information server(post method) i get Bad DNS Address error.
First i get data from server then I closed inputStream and connection.
After that I tried to send the data to server using connection.post method but got Bad DNS address.
I checked the apn is correct. Im trying this on Orange (France), T-monile(US).
Gmail, facebook and other application with same functionality are running successfully, only my application is not running.
The deivce im using is Blackberry bold 9000.
From where I will get the information regarding service book?
01-27-2009 02:41 AM
What about T-mobile US and Orange in France. My application is not working on these network carrier.
I have tried all things. Can you please help me in this?