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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
peter_strange
Posts: 17,942
Registered: ‎07-14-2008

Re: Sample HTTP Connection code and BIS-B Access

I think you will find that the code does a Thread.yield(), but this is within a loop that will  try the request again because tryAgain is set true.  Review the code again to confirm. 

Please use plain text.
Regular Contributor
kamaleshpandey
Posts: 91
Registered: ‎11-10-2009
My Carrier: Generic

Re: Sample HTTP Connection code and BIS-B Access

How to use BIS-B parameter in connection factory (OS 5.0 ) ?

 

 

Kamalesh
Please use plain text.
Developer
peter_strange
Posts: 17,942
Registered: ‎07-14-2008

Re: Sample HTTP Connection code and BIS-B Access

Supply a BisBOptions object to your ConnectionFactory and make sure you have enabled it. 

Please use plain text.
Regular Contributor
kamaleshpandey
Posts: 91
Registered: ‎11-10-2009
My Carrier: Generic

Re: Sample HTTP Connection code and BIS-B Access

Thanks peter,

 

It works.

Kamalesh
Please use plain text.
Developer
Iyenemi_Tyger
Posts: 132
Registered: ‎10-25-2011
My Carrier: MTN

Re: Sample HTTP Connection code and BIS-B Access

Good day peter , 

i am trying to make a BIS connection ,When you say put that string in URLFactory for BIS , what about the details sent to you by rim like app id and such should they be also placed as a parameter to the URLFactory constructor ? , And also to make a BIS Connection does my client app need to create a socket binding to the bis server before making a http request , thanks for your support .

Please use plain text.
Developer
peter_strange
Posts: 17,942
Registered: ‎07-14-2008

Re: Sample HTTP Connection code and BIS-B Access

"what about the details sent to you by rim like app id and such should they be also placed as a parameter to the URLFactory constructor ?"

 

No

 

"details sent to you by rim like app id and such should they be also placed as a parameter to the URLFactory constructor ? , And also to make a BIS Connection does my client app need to create a socket binding to the bis server before making a http request "

 

No

 

If you are using the connection suffix approach to selecting your connection method, the only thing you need for a BIS-B connection is the 'magic' string provided by RIM as the connection suffix. 

Please use plain text.