android - store custom size of image immediately taken by camera -
I am taking pictures from the camera using MediaStore.ACTION_IMAGE_CAPTURE
and as a database < Using the code> blob cursor. Later, I am uploading it to the web.
> ("Data"); Bytereon output stream stream = new byteOutStream (); Bitmap.compress (bitmap.compress format.jpg, 100, stream); Byte ImageInByte [] = stream.toByteArray (); // dumbing image inbit db, later i'm reaching the same byte array and sending // more network
, but the problem is that the size of the image is 144x192
which is quite small, for example 300x300
Try small and large size picture capture example in this example will help you take a custom size camera picture
Comments
Post a Comment