Sharing a file with FileProvider:
https://www.b4x.com/android/forum/threads/share-txt-files.73166/#post-464921 (new requirement in Android 7).
Your example above, does what I want to do in your example, but when I insert it into my picture viewer, I keep getting this compile error
B4A version: 6.80
Parsing code. (0.11s)
Compiling code. Error
Error compiling program.
Error description: Unknown member: shared
Occurred on line: 2316
File.Copy(File.DirAssets, "b4a.png", Starter.shared, "b4a.png")
Word: shared
I don't know why. Steve