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

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 101
Registered: ‎10-08-2012
My Device: Non-BlackBerry User
My Carrier: AirTel

Web Services to connect to BlackBerry applications

What is the best method to connect to a web service in BlackBerry ?


Forgive me for being naive, but actually I am new to BlackBerry application development.


However, I have worked a lot on Android and knw how to make connections to web-services using SOAP, JSON or HTTPClient.


For BlackBerry, what would be the best option ? Any tutorial links would indeed be of awesome help!


Thanks in advance!

Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

Re: Web Services to connect to BlackBerry applications

I would highly recommend the following two articles regarding Web services:






If you are using EDGE for Direct TCP, you will need APN settings one way or the other. The first document outlines some other alternatives from Direct TCP (Carrier) and WiFi.


Let me know if you have any questions.

Posts: 17,026
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Web Services to connect to BlackBerry applications

json is supported since 6.0 in the api, beforehand you have to use a lib.
for soap you can use ksoap2 or stubs, depending on your needs.

you can search the forum for any of these keywords to find many posts about them.
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
Posts: 101
Registered: ‎10-08-2012
My Device: Non-BlackBerry User
My Carrier: AirTel

Re: Web Services to connect to BlackBerry applications

Thank you for your answer. I will try these out and let you know how it goes.  Thanks again for the reply.