Android Question Access WhatsApp Folder

Lucas Eduardo

Active Member
Licensed User
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:

DonManfred

Expert
Licensed User
Longtime User
make sure to use runtimepermission AND have requested access to this path.
 
Upvote 0
Top