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: 330
Registered: ‎02-25-2009
My Device: Not Specified
Accepted Solution

can browse even APN is not set ?

Hello

 

If APN is not set then while doing HttpCoonection, my application throws exception IOException: APN is not set. But at the same time i can browse different site through browser. How could this is possible ? Do i need to add any more parameters for this.

 

My url is as follows

url + "deviceside = true";

 

Thanks

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

Re: can browse even APN is not set ?

To understand your question, you have some reading to do:

 

Start here:

http://supportforums.blackberry.com/t5/Java-Development/Networking-Transports-II/ta-p/446742

 

and then look at this:

http://supportforums.blackberry.com/t5/Java-Development/Different-ways-to-make-an-HTTP-or-socket-con...

 

Once you have been through all of this, can you please review your quesition and perhaps ask it a different way. 

Developer
Posts: 330
Registered: ‎02-25-2009
My Device: Not Specified

Re: can browse even APN is not set ?

Cool !

 

Now i am using following sequence

 

BlackBerry MDS

Wi Fi

WAP 2.0

BlackBerry Internet Service

Direct TCP

WAP 1.0/1.1

 

Thanks peter