Hi Alexa
thanks for your pointers.
rgds
Graeme
On Sep 3, 3:36 pm, alexa [EMAIL PROTECTED] wrote:
Bitmap bitmap = Media.getBitmap(getContentResolver(), imageUri);
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
bitmap.compress(Bitmap.CompressFormat.JPEG, 90, bytes);
Bitmap bitmap = Media.getBitmap(getContentResolver(), imageUri);
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
bitmap.compress(Bitmap.CompressFormat.JPEG, 90, bytes);
ByteArrayInputStream stream = new
ByteArrayInputStream(bytes.toByteArray());
2 matches
Mail list logo