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
New Developer
Posts: 49
Registered: ‎07-16-2008
My Device: Not Specified

How to select a connection type programmatically?

Hi,


As we know, we can establish a HTTP or socket connection in five different ways; which is mentioned in this site: http://tinyurl.com/kw9qo
My doubt is:
1. Can a device support more then one types of network connection at a time.
2. How can I select programmatically which connection my application should establish.

 

Thanks.

Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to select a connection type programmatically?

i would suggest you take a look at this video, it is a more up to date source:
http://www.blackberry.com/DevMediaLibrary/view.do?name=network

other then that most of the basics are already covered in your linked article. you can select the connection by adding a connection string like ';deviceside=true'

after the WES rim published a connection manager, i don't have the link to it ready right now though, maybe somebody can jump in with it?
----------------------------------------------------------
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
Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to select a connection type programmatically?

Jumping in:

 

What Is - Network Diagnostic Tool
Article Number: DB-00684

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...