R rogel a. tolentino Member Licensed User Longtime User Sep 30, 2018 #1 For more than a month until now I can not view the File DirRootexternal in an android phone. I tried all the codes recommended by b4x but all failed. when i use the command log(File.DirRootExternal) the display is /storage/emulated/0 When i open the file manager in an android phone I can not see the folder /storage/emulated/o You said this can be accessed by file manager. Can you teach me? My first goal is to read a textfile located anywhere in an android phone either internal or external. Can you show example
For more than a month until now I can not view the File DirRootexternal in an android phone. I tried all the codes recommended by b4x but all failed. when i use the command log(File.DirRootExternal) the display is /storage/emulated/0 When i open the file manager in an android phone I can not see the folder /storage/emulated/o You said this can be accessed by file manager. Can you teach me? My first goal is to read a textfile located anywhere in an android phone either internal or external. Can you show example
Erel B4X founder Staff member Licensed User Longtime User Sep 30, 2018 #2 You are making duplicate posts. That's not good. Anyway, the root folder can have all kinds of names. The root folder (File.DirRootExternal) should be the first folder to show when you open a file manager. If you want to write a file to File.DirRootExternal then you need to request the permission at runtime. Watch the runtime permissions video tutorial. rogel a. tolentino said: My first goal is to read a textfile located anywhere in an android phone either internal or external. Click to expand... Internal files cannot be accessed by other applications. Upvote 0
You are making duplicate posts. That's not good. Anyway, the root folder can have all kinds of names. The root folder (File.DirRootExternal) should be the first folder to show when you open a file manager. If you want to write a file to File.DirRootExternal then you need to request the permission at runtime. Watch the runtime permissions video tutorial. rogel a. tolentino said: My first goal is to read a textfile located anywhere in an android phone either internal or external. Click to expand... Internal files cannot be accessed by other applications.