If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
Contributor
rko_z
Posts: 20
Registered: ‎02-21-2012
My Device: 9506
My Carrier: rim

Network connection issue

I have an application that retrieves data from my web server, it works fine when I am using WI-FI Connection, but refuses any connections when I use mobile network I am just struck in the problem please suggest solution

Please use plain text.
Developer
maadani
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: Network connection issue

Hi,

 

this can be caused by several reasons.

 

Can you please post the error that you get and/or your communication code?

 

E.

Please use plain text.
Contributor
lironhel
Posts: 44
Registered: ‎10-28-2010
My Device: Not Specified

Re: Network connection issue

use the NetworkAPIDemo from blackberry samples to get a better view of your problem.

Please use plain text.
Developer
Kiran_Snist
Posts: 174
Registered: ‎01-25-2011
My Device: Not Specified

Re: Network connection issue

Its related to transportInfo.... also add TransportInfo.TRANSPORT_TCP_CELLULAR to the preffered transports... this would do...
Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: Network connection issue

I recommend that you review the following video:

 

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

 

and this KB article:

 

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

 

If things are not any clearer, then type Network in the Search box (top right hand side) and review some of the Threads and KB articles that you will find. 

Please use plain text.