P Pencil3 Member Licensed User Feb 14, 2018 #1 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?
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 Feb 14, 2018 #2 Pencil3 said: Believe I need to use fileProvider Click to expand... yes https://www.b4x.com/android/forum/t...om-your-app-with-file-provider.70458/#content Upvote 0
Pencil3 said: Believe I need to use fileProvider Click to expand... yes https://www.b4x.com/android/forum/t...om-your-app-with-file-provider.70458/#content