📅  最后修改于: 2022-03-11 14:52:44.094000             🧑  作者: Mango
URIs are temporary addresses to a image/file.
They are similar to a link you click to open a website i.e.url.
Once a session ends the URI to access a file/image expires
and using it to access a file again crashes the app
Solution
once you get the uri store the image in the app's internal storage using bitmap
and then generate a new uri for the image stored in the inernal storage
with Uri.fromFile(file);. Now use this new generated uri in any activity in the app.