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: 130
Registered: ‎10-26-2010
My Device: Blackberry Bold 9700

Re: Downlaod video file in chunks not working

 

I am so very sorry for misreading and thanks a lot @peter u saved me again the file got downlaod in 7 chunks.

 

Just one more thing should I  use this size as standard ?? As I am not sure what would be the video files size on server

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

Re: Download video file in chunks not working

For me, 64K is a nice compromise.

 

You can probably go higher if you have 3G or WiFi connection.  As long as you do not exceed 256KB I am confident that you will not exceed any connection limits and in fact for things like video files, the size can be larger.  However the downside of larger sizes is that you tie up larger buffers on device plus if it fails you have more to retransmit.

 

That said, 64 KB is a size that I made up, perhaps other people have different recommendations.  .