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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
rko_z
Posts: 20
Registered: ‎02-21-2012
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

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: 43
Registered: ‎10-28-2010

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

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: 17,711
Registered: ‎07-14-2008

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.