issues
search
nohana
/
Laevatein
Photo image selection activity set library. Currently under development.
247
stars
45
forks
source link
FileUriExposedException occurs when take a picture at API Level 24 or later
#80
Closed
mrtry
closed
6 years ago
mrtry
commented
6 years ago
Overview
From API Level 24, the file system permissions changed.
With this influence,
FileUriExposedException
occurs when take a picture at API Level 24 or later.
The reason is that the schema of the URI that specifies the save destination is
file://
.
Approach
Use the FileProvider to make the URI scheme
content://
.
Overview
FileUriExposedException
occurs when take a picture at API Level 24 or later.file://
.Approach
content://
.