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
Highlighted
gbe
Contributor
Posts: 22
Registered: ‎08-14-2009
My Device: BlackBerry Pearl

Re: Taking picture with camera...

JPEGEncodedImage encoded = JPEGEncodedImage.encode(bmp2, 90);

 

90 is the quality factor, so try with a shorter value (80~70...)

Developer
Posts: 329
Registered: ‎12-17-2010
My Device: Not Specified
My Carrier: developer

Re: Taking picture with camera...

As i know decreasing the quality factor value is not the good solution.. 

Regular Contributor
Posts: 73
Registered: ‎07-12-2011
My Device: 9800
My Carrier: Programmer

Re: Taking picture with camera...

Hi. I've same problem after taken picture. I read His solution. listener is too quickly  execute. Pls help where should we check the file size is growing. Pls help me.