jcesar Active Member Licensed User Longtime User Dec 6, 2018 #1 I'm trying read a text file from internal memory but i get the exception below: java.io.FileNotFoundException: /storage/emulated/0/Download/myfile.txt (Permission denied) B4X: Dim text As String text = File.ReadString(File.DirRootExternal, "/Download/myfile.txt") edtTexto.Text = text
I'm trying read a text file from internal memory but i get the exception below: java.io.FileNotFoundException: /storage/emulated/0/Download/myfile.txt (Permission denied) B4X: Dim text As String text = File.ReadString(File.DirRootExternal, "/Download/myfile.txt") edtTexto.Text = text
josejad Expert Licensed User Longtime User Dec 6, 2018 #2 Have you checked the rigth permissions? https://www.b4x.com/android/forum/threads/runtime-permissions-android-6-0-permissions.67689/ Upvote 0
Have you checked the rigth permissions? https://www.b4x.com/android/forum/threads/runtime-permissions-android-6-0-permissions.67689/
eps Expert Licensed User Longtime User Dec 6, 2018 #3 or check this post? https://www.b4x.com/android/forum/t...ot-the-path-of-the-sd-card.75396/#post-478895 Upvote 0
or check this post? https://www.b4x.com/android/forum/t...ot-the-path-of-the-sd-card.75396/#post-478895