In Android, assuming that I have files in “/data/data/package.name/”, without knowing the names or how many files exist, what is the best way to retrieve/iterate them all?
Also, the name is numerical only.
In Android, assuming that I have files in /data/data/package.name/, without knowing the names or
Share
It looks like you want to list all of the files in the directory, and (possibly) recurse if a file is a directory.
You can find how to do this at the answer to this question.
Copy-pasted: