Didier9 Well-Known Member Licensed User Longtime User Aug 24, 2019 #1 I now get this error when trying to open the email app (Android 9) with an attachment. Probably a permission missing but I am not sure which... I tried to disable strict mode with this: https://www.b4x.com/android/forum/threads/solved-java-code-for-disablestrictmode.49732/#content but that did not work
I now get this error when trying to open the email app (Android 9) with an attachment. Probably a permission missing but I am not sure which... I tried to disable strict mode with this: https://www.b4x.com/android/forum/threads/solved-java-code-for-disablestrictmode.49732/#content but that did not work
DonManfred Expert Licensed User Longtime User Aug 24, 2019 #2 [file] exposed beyond app if you google for this error the results points to a FileUriException. If this is the case here then you need to use FileProvider android.jar / targetSdkVersion / minSdkVersion FileProvider Upvote 0
[file] exposed beyond app if you google for this error the results points to a FileUriException. If this is the case here then you need to use FileProvider android.jar / targetSdkVersion / minSdkVersion FileProvider
Didier9 Well-Known Member Licensed User Longtime User Aug 24, 2019 #3 Thank you Manfred, I actually just tried this and it fixed it. https://www.b4x.com/android/forum/threads/class-fileprovider-share-files.97865/#content Thank you Upvote 0
Thank you Manfred, I actually just tried this and it fixed it. https://www.b4x.com/android/forum/threads/class-fileprovider-share-files.97865/#content Thank you