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

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -