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
gayatri
Posts: 86
Registered: ‎12-06-2012
My Device: Curve 8520

unable to connection application data connection to idea operator

Hi Friends,

I am unable to create http  connection with idea sim while same code is working perfect on other network operators.

Please help me it's urgent

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: unable to connection application data connection to idea operator

use connectionfactory
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
peter_strange
Posts: 19,610
Registered: ‎07-14-2008
My Device: Not Specified

Re: unable to connection application data connection to idea operator

[ Edited ]

Just to expand on Simon's point, networking on BlackBerry is a little different to other platforms so you will need different code.

 

To understand the differences please review the following:

 

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

 

http://supportforums.blackberry.com/t5/Java-Development/Network-Transports/ta-p/482457

 

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

 

That will give you the background you need.  In terms of coding my recommendation is the same as Simon's, use ConnectionFactory, as documented in the API. 

 

Edit:  I misread the original question and though it was saying the the code worked on other platforms, not operators.  Ignore this post - see one below for a better answer.

Developer
gayatri
Posts: 86
Registered: ‎12-06-2012
My Device: Curve 8520

Re: unable to connection application data connection to idea operator

I am using ConnectionFactory, but it's not working 

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

Re: unable to connection application data connection to idea operator

Sorry misread your question.  My mistake.

 

Try the network diagnostic to find out what connection methods are available with that Sim. 

http://supportforums.blackberry.com/t5/Java-Development/What-Is-Network-API-alternative-for-legacy-O...

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: unable to connection application data connection to idea operator

i think i will petition my carrier to get a forums account as well :smileyhappy:
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
gayatri
Posts: 86
Registered: ‎12-06-2012
My Device: Curve 8520

Re: unable to connection application data connection to idea operator

getting response HTTP-OK -  "Connection-type:  Close"  in header with the use of idea operator