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: 231
Registered: ‎07-09-2009
My Device: Not Specified

Reduce getResponseCode() time

Hi Everybody,

                         In my application i have used http connection for POSTing images to server its working fine but it took more time to read the response from server ( Using getResponseCode() )..

 

so the device getting stuck and freeze.. Is there any to reduce that time or some way to read the response..

 

Please any one help me for this..

 

Thanks,

Packiaraj

Developer
Posts: 212
Registered: ‎07-18-2008
My Device: Storm 9550

Re: Reduce getResponseCode() time

Actually what happens is when you call getResponseCode() it will send all your data. it's like a flush, before no data will be sent. But I do not know a better way to flush smaller steps with HttpConnection :smileysad:

If your problem was solved, please mark answer as "Accepted solution"
If your want to thank, click the "kudo" symbol
___________
visit me: http://mobilejavadevelopment.blogspot.com/
visit the Berlin BlackBerry Developer Group: http://berlinblackberrydevelopers.blogspot.com/