android croped image is too small -
i using image cropper app in android devices crop image camera or gallery images convert string , send server on server, image size 160x160 , device samsung galaxy tab2 10.1 whats wrong on used code? resize code show thumb return 120x120 image , not send thumb server private string setbitmaptostring(bitmap bmp) { string base64string = null; if (bmp == null) { bmp = bitmapfactory.decoderesource(getapplicationcontext().getresources(), r.drawable.app_icon); } bytearrayoutputstream baos = new bytearrayoutputstream(); bmp.compress(bitmap.compressformat.jpeg, 100, baos); byte[] imgbytes = baos.tobytearray(); base64string = base64.encodetostring(imgbytes, base64.default); contentvalues initialvalues = new contentvalues(); initialvalues.put("picture", base64string); // save base64string db return base64string; } i using following method take picture or pick device , crop: //========...