Lucas Eduardo Active Member Licensed User Feb 25, 2019 #1 Hello, i am trying to access the WhatsApp folder, in the samsung cellphone its ok i can access, but in the others i can't i tested in a Moto G5, Android 8.1 B4X: Log(File.IsDirectory(File.DirRootExternal, "WhatsApp")) return true B4X: Log(File.ListFiles(File.DirRootExternal)) return (List) Not initialized B4X: Log(File.ExternalReadable) Log(File.ExternalWritable) Both return true Why does it happen? Last edited: Feb 25, 2019
Hello, i am trying to access the WhatsApp folder, in the samsung cellphone its ok i can access, but in the others i can't i tested in a Moto G5, Android 8.1 B4X: Log(File.IsDirectory(File.DirRootExternal, "WhatsApp")) return true B4X: Log(File.ListFiles(File.DirRootExternal)) return (List) Not initialized B4X: Log(File.ExternalReadable) Log(File.ExternalWritable) Both return true Why does it happen?
DonManfred Expert Licensed User Longtime User Feb 25, 2019 #2 make sure to use runtimepermission AND have requested access to this path. Upvote 0