View Single Post
Old 07-20-2009, 01:23 AM   #1 (permalink)
New Member
Join Date: Apr 2009
Model: 7100T
Carrier: Airtel
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How do I create a generic application to connect to internet irrespective of BIS/BES?

Please Login to Remove!

Thanks in advance,

I have created a TCP-IP based app which is working fine on Simulator but when I put this app on the actual device even after putting the APN settings (APN:internet, UserName:BLANK, Pwd:BLANK) it is giving me tunnel failed exception. I'm using Idea Cellular(India) Blackberry plan BIS/BES. I tried with all sorts of gimmik but of no help viz. APN, deviceside=true/false etc

My actual question is how do I create a app like Google Maps or facebook, which connects to internet irrespective of the connection type. These applications don't need any APN settings and still they are able to make the connection. Is there any different set of api's not exposed by blackberry for 3rd party development which connects without specifying any settings?

How do I programatically retrieve at run-time what sort of protocol I should use to connect and how do I retrieve the respective settings?

Offline   Reply With Quote