Android Question Intent Based Camera & targetsdkversion 26

Pencil3

Member
Licensed User
Trying to use the Intent Based Camera Tutorial with a targetsdkversion set to 26 and receive the below error.

B4X:
(FileUriExposedException) android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/b4a.example/files/tempimage.jpg exposed beyond app through ClipData.Item.getUri()

Believe I need to use fileProvider, but I'm not sure what exactly. Is this Tutorial a step in the right direction?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top