A lot of koders struggle with the issue of accessing WhatsApp status in higher versions of android because you can’t simply access that by using any file tool extension. So… Here comes the solution, Thanks to @vknow360 for his SAF extension.
It was working for me.
But it may not work for everyone since uriString has been hard-coded in ListFiles method.
You can replace both text blocks in ListFiles with uriString variable.
I have updated the image.
You can use your logic to ask for permission only once.
Remember it is a guide. It can only explain a particular feature and so asking anything out of the context is not a good practice.
Are you sure that CopyDocumentToASD accepts a list?
This happens when you try to copy-paste.
SAF is a complicated things so that won’t work here.
You’ll find few examples in this topic: