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: 3
Registered: ‎06-30-2009
My Device: 8900

Re: Connecting your BlackBerry - http and socket connections to the world

nice work !!!

even some is difficult for me!!

thanks!Smiley Happy

冰冻三尺,非一日之寒
滴水穿石,非一日之功
Developer
Posts: 34
Registered: ‎07-03-2009
My Device: Not Specified

Re: Connecting your BlackBerry - http and socket connections to the world

Apologies if I missed this earlier in the thread.

 

Is there a list anywhere of the carrier names that will actually show up when you call getCurrentNetworkName()? I saw the list (thank you, by the way) of APN's/etc. to supply - but I don't have a phone on all the networks so I wasn't sure what they would actually be called ("T-Mobile", "TMobile", "T_Mobile", etc.).

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

Re: Connecting your BlackBerry - http and socket connections to the world

I like this Thead and the wrapper code supplied marcus at versatilemonkey.  Great stuff.

 

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&thread.id=58555

New Developer
Posts: 7
Registered: ‎08-31-2009
My Device: Not Specified

Re: Connecting your BlackBerry - http and socket connections to the world

I finally got the whole connection choice problem taken care of thanks to the sample code provided in this thread.  Then I run into the issue of breaking files into chunks as discussed here:

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=22170&query.id=80...

 

Now I need to combine the samples into a massive WIFI, WAP, TCP, BIS, or just plain old BS download system, then download them as chunks, then recombine the chunks, all to download a 1MB file.  That is nothing short of ridiculous!!!  RIM should have known that people were going to ummm try to download files using HttpConnections.... (Sorry to rant)

 

New Developer
Posts: 49
Registered: ‎05-14-2009
My Device: Not Specified

Re: Connecting your BlackBerry - http and socket connections to the world

 

Hi!

Can you help me? My posts here - http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&thread.id=48404

Main problem is I can’t create the tcp connection on the real device (7130). I’ve read your thread. I’ve tried every combination of the parameters. But I’m getting the same error: “Malformed Address. Returning null connection”

 

Thank you!

 

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

Re: Connecting your BlackBerry - http and socket connections to the world

For a great explanation of what actually goes on behind the scenes in Direct TCP and WAP, please look at this Post:

 

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=64646#M64646

 

The better you understand the structure your app is built on, the better you will understand any problems that occur with it, so I recommend that you review this if using Direct TCP or WAP. 

New Developer
Posts: 28
Registered: ‎07-14-2009
My Device: Not Specified

Re: Transcoders and other things that get in the way

wow! All of you are so proffesional! I think have to learn more, and then i can talk about Java here.

Blackberry Storm
New Developer
Posts: 28
Registered: ‎07-14-2009
My Device: Not Specified

Re: Wi-Fi and other connection methods

"You can detect Wi-Fi being supported directly and active from the ServiceBooks, or use RadioInfo (on later OS levels)." Really?

I usually have no ideas about this.

Blackberry Storm
Developer
Posts: 179
Registered: ‎09-11-2009
My Device: Not Specified

Re: Overview - summarizing what can be done

I'm extremely new to both RIM development and Java development; I started because there were apps I wanted for my Blackberry that I couldn't find.  Reading this thread makes me despair of ever creating a network capable application.

 

That being said, this is an excellent thread and an amazing resource.  Do you think it would be helpful to add a post for individual developers...kind of a "if you're working with RIM API's because you're sick of seeing "<insert application name> for iPhone only" and want to write an app with network connectivity for your Blackberry only"

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

Re: Overview - summarizing what can be done

This is supposed to be an Information Thread.  Can you add this as a new question rather than trying to get it answered on this Thread?