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
kanaksony
Posts: 571
Registered: ‎04-11-2009
My Device: BB 10 Dev Alpha

Device hangs while uploading image>150 KB

Hi,

 

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

 

Regards,
Kanak Sony
------------------------------------------------------------------------------------------
http://dodevelopnshare.wordpress.com/ | http://www.linkedin.com/profile/view?id=188131481&trk=tab_pro
Please use plain text.
Administrator
MSohm
Posts: 14,528
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
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

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

 

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.
Found a bug? Report it using Issue Tracker
Please use plain text.