Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 75
Registered: ‎07-22-2011
My Device: curve 9300
My Carrier: New member

Tunnel Field and APN settings - Problem

Hi frnds,

 

I am using blackberry curve 9330. For getting Connection with network im using the following link code..

 

http://softteco.blogspot.com/2011/02/blackberry-connection-connectoropen.html

 

Now in my device,im using "Mobile network(Ta*****mo)".  While checking the connection via my coding i got "APN is not specify". So i checked the TCP/IP setttings. 5 options are there. i enabled only two options.i dont know the username,password and APN. Is there any way to check that? 

 

Without filling username,password and APN i tried to run my app its showing "Tunnel Field" exception.

i checked in google about "Tunnel Field", they are saying like your APN settings are not done properly. 

 

Please help me. Where im wrong?

 

Thanks

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Tunnel Field and APN settings - Problem

Search on Google for the APN user name and password associated with your carrier.  You will need to fill these in, in the TCP options. 

Contributor
Posts: 30
Registered: ‎09-13-2011
My Device: Tourch
My Carrier: Fido

Re: Tunnel Field and APN settings - Problem

Hello Karthika,

 

Can you let us know how you check that APN setting is not configured in code?

Whats is API/class or method used to know if APN setting is configured or not.

 

~Priyanka