I am currently writing an application which should access a few files of another app's data directory (/data/data/com.xy). My problem is, that i need root (dont I?) and i need to loop trough them with root. I already tried running the "su" command and then iterating all files, but people told me that this only works in the certain console, the command got sent in... So, my Question is: How do Iiterate all the files in a folder, if the folder is a root directory (you need to root to read/write)
Greetz