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
Posts: 56
Registered: ‎01-11-2009
My Device: Not Specified
Accepted Solution

Clarification: Http connection suffix defaults to MDS/BES?

Hi All:

 

I've reviewed most if not all doc and threads on specifying networks for http connection. (Special thanks Peter Strange)

 

I need clarification on behavior if no suffix is provided (example: Connector.open("www.blackberry.com")

This is supposed to default to Connector.open("www.blackberry.com;deviceside=false") - an MDS/BES connection 

 

On my Storm V4.7.0.75, no suffix works but ";deviceside=false" does not work.

 

Since my Storm is not part of enterprise network neither should work....

 

Am I missing something?

 

Olaf

 

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Clarification: Http connection suffix defaults to MDS/BES?

Verizon is an exception, they have a direct TCP stack available on the device.

 

Developer
Posts: 56
Registered: ‎01-11-2009
My Device: Not Specified

Re: Clarification: Http connection suffix defaults to MDS/BES?

Yes the Storm is on Verizon.

 

Exceptions... exceptions... 

 

Oh what a wonderful world!

 

 

Thanks, RexDoug

 

New Developer
Posts: 6
Registered: ‎04-21-2009
My Device: Not Specified

Re: Clarification: Http connection suffix defaults to MDS/BES?

So how was this issue fixed - what is th connection statement arguments/parameters to best use for Strom/verizon?
Developer
Posts: 56
Registered: ‎01-11-2009
My Device: Not Specified

Re: Clarification: Http connection suffix defaults to MDS/BES?

Stevie,

  

You are asking a much broader question.

 

Look at Peter Strange post on first page of this forum for

threads that address your question.

 

I don't have enough experience to give a "best practice".

 

Olaf

 

Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Clarification: Http connection suffix defaults to MDS/BES?

Use CoverageInfo to determine the best connection, as outlined in Peter's post.

 

You will still prefer BES if available, or BIS-B if you are approved to use it. Otherwise, you would select ";deviceside=true" with no APN info (for this particular carrier).

 

 

Highlighted
New Contributor
Posts: 6
Registered: ‎09-09-2010
My Device: Not Specified

Re: Clarification: Http connection suffix defaults to MDS/BES?

Http commection sufix class for device & sumulater: