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

Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Device hangs while uploading image>150 KB



I have written a piece of code, to upload an image over server. I am able to upload an image of about 1.9 MB with 8900 Simulator with thie help of this code. I tried to test this code on my the real handset, and it hangs for the images with size > 151 KB.


Device  Model : 8520  Curve

Carrier : Airtel India


Thanks in advance,

Kanak Sony


Kanak Sony
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
BlackBerry Development Advisor
Posts: 15,852
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Device hangs while uploading image>150 KB

What route are you making your connection over?  What protocol is being used to upload the image?


What Is - Different ways to make an HTTP or socket connection



What line of code is it hanging on?  Does the connection time out after a while?  Is any error or exception thrown?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.