I am making an application which takes image from the camera and then email it.
Friends since you know that images from camera may be of too much resolution and in size as well e.g. 2.0MB and more so what i want is to re-size the image in size as well as in resolution so that i could attach that file to the email.
So can anybody give me some code sample or some guidelines to get over my problem.
Thanks in advance
you can do this to compress BitMap..
Try this image compression example from
http://voidcanvas.com/whatsapp-like-image-compression-in-android/
To resize image try with the following code
try this example
you can try this also