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
Contributor
lathavaish
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. 

 

 

 

 

Please use plain text.
Developer
simon_hain
Posts: 15,947
Registered: ‎07-29-2008
My Device: Z10 LE
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
Please use plain text.
Contributor
lathavaish
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 ???

Please use plain text.
Developer
simon_hain
Posts: 15,947
Registered: ‎07-29-2008
My Device: Z10 LE
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
Please use plain text.
Contributor
lathavaish
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 };

Please use plain text.