On a certain tap event, I ask the user to add an image. So I provide two options:
- To add from gallery.
- To click a new image from camera.
My aim is to keep a list of "uri"s related to those images.
If the user chooses gallery, then I get the image uri (which is quite simple).
But if he chooses camera, then after taking a picture, I am getting the Bitmap object of that picture.
Now how do I convert that Bitmap object to uri, or in other words, how can I get the relative Uri object of that bitmap object?
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…