Read complete story

Handling Out Of Memory Exception to upload image from camera

There are some cases occur out of memory Exception when uploading an image from the camera, this happened because of no memory available to upload the image. So how we handle the Exception?

By using the BitmapFactory.Options class.

the following code to apply in our code when getting the result is Activity.RESULT_OK from the camera.

 

 

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close