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

BlackBerry® Bold™

Reply
Developer
Posts: 70
Registered: ‎11-24-2009
My Device: Not Specified
Accepted Solution

Shared Input stream is broken on OS 5.0?

Hi,

 

I have developed a streaming player using 4.5 JDE that has always worked for me.

Now I wanted to test the same on 5.0 OS but seems that SharedInputStream is broken on OS 5.0. It always return -1 for the second read call on the http. Can somebody help me out with that. This is blocking my release as the playback is not working at all.

 

Thanks,

Lovish

Highlighted
Developer
Posts: 17
Registered: ‎03-03-2009
My Device: Not Specified

Re: Shared Input stream is broken on OS 5.0?

I am experiencing the same problem on all the OS 5+ devices we have, and am similarly searching for a solution.

 

I have seen some recommendations to simply drop the SharedInputStream in favor of an InputStream, but that doesn't really thrill me and I was hoping there was a workaround.

 

 

Developer
Posts: 70
Registered: ‎11-24-2009
My Device: Not Specified

Re: Shared Input stream is broken on OS 5.0?

I have posted a bug on this on RIM issue tracker. But not sure when this will get addressed Smiley Sad

Developer
Posts: 70
Registered: ‎11-24-2009
My Device: Not Specified

Re: Shared Input stream is broken on OS 5.0?

Can some one have a look at this? Will this ever fixed?

Developer
Posts: 70
Registered: ‎11-24-2009
My Device: Not Specified

Re: Shared Input stream is broken on OS 5.0?

Can someone please look into this problem???

Developer
Posts: 70
Registered: ‎11-24-2009
My Device: Not Specified

Re: Shared Input stream is broken on OS 5.0?

I logged a bug but its still in triage state. Can someone please help

Developer
Posts: 70
Registered: ‎11-24-2009
My Device: Not Specified

Re: Shared Input stream is broken on OS 5.0?

So it is fixed in 6.0. We would need to use circular buffer for 5.0 phones