Skip to content Skip to sidebar Skip to footer

I'm Getting Error When I'm Compress The Image Using Bitmap In Android

I'm capturing image using intent and send to my server but when i'm capturing image and compress then some mobile I'm getting bitmap.compress error. So how to solve this problem g

Solution 1:

Replace

OutputStreamoutputStream=null; 

with

OutputStreamoutputStream=newFileOutputStream(f); 

Post a Comment for "I'm Getting Error When I'm Compress The Image Using Bitmap In Android"