Skip to content

Instantly share code, notes, and snippets.

@piruin
Created October 2, 2015 17:21
How to get bitmap from URI
InputStream is = getContentResolver().openInputStream(uri);
Bitmap bitmap = BitmapFactory.decodeStream(is);
is.close();
@piruin
Copy link
Author

piruin commented Oct 2, 2015

Sorry, something went wrong.

@l337quez
Copy link

i need problem converting uri to multipart in kotlim :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment