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


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.


Reply
Contributor
Posts: 12
Registered: ‎06-24-2012
My Device: 9800
My Carrier: developer

How to download file larger than 256 KB using a BIS_B

Hi everyone,

 

 

 I really need some quick workaround to be able to download a file larger than 256 KB .

  

 I was going through the forum and found these..

 

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

 

http://supportforums.blackberry.com/t5/Java-Development/quot-Exceeded-the-limit-of-number-of-bytes-q...

 

Is it true that there is no solution /workaround to download a file larger than 256 KB using a BIS_B http connection? Or am I missing somthing?

 

 Should I change the connection type??

 

Please help me. 

 

 

 

 

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

Re: How to download file larger than 256 KB using a BIS_B

maybe this helps, albeit it is targeted at MDS:
http://supportforums.blackberry.com/t5/Java-Development/Download-large-files-using-the-BlackBerry-Mo...
----------------------------------------------------------
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
Contributor
Posts: 12
Registered: ‎06-24-2012
My Device: 9800
My Carrier: developer

Re: How to download file larger than 256 KB using a BIS_B

Thanks  Simon,

 

 

  But could you please help me with this ?  Does all this need to be done on the client end ?  How will we get the 216 response ???

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

Re: How to download file larger than 256 KB using a BIS_B

well, BIS is not really defined in public resources as it is RIMs own transport, used for push and registered applications.

How did you get access to BIS-B? Did you appy for push or did you register your application using the alliance program?
----------------------------------------------------------
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
Contributor
Posts: 12
Registered: ‎06-24-2012
My Device: 9800
My Carrier: developer

Re: How to download file larger than 256 KB using a BIS_B

I am using the usual http connection and setting the transport using Connection factory class

 

 

cf = new ConnectionFactory();

cf.setPreferredTransportTypes(AppConstants.TRANSPORT_CHANNEL_PRIORITIES);

 

Ans these are the transport types being used , in the order of priority

 


public static final int[] TRANSPORT_CHANNEL_PRIORITIES = {
TransportInfo.TRANSPORT_TCP_CELLULAR, TransportInfo.TRANSPORT_WAP2,
TransportInfo.TRANSPORT_BIS_B, TransportInfo.TRANSPORT_WAP,
TransportInfo.TRANSPORT_MDS, TransportInfo.TRANSPORT_TCP_WIFI };