I have a bitmap and how can I get this image to url?
Bitmap image = BitmapFactory.decodeStream(inputStream);
I got bitmap from url. I want this things reverse. I want a url.
I have a bitmap and how can I get this image to url?
Bitmap image = BitmapFactory.decodeStream(inputStream);
I got bitmap from url. I want this things reverse. I want a url.
Step #1: Save the Bitmap
to a file, using compress()
.
Step #2: Upload the file to a server somewhere, for which you can derive the resulting URL.