I am developing an application in which i have to show list of all files and folders including Data folder, but using the File Explorer program (that is already developed)the data folder is not accessible. I have tried to list all files using File class' listFiles() method but it skips the Data folder. Is there any way to access the same?
So if /data folder is not accessible then how to fetch data from that it? There is no way to get it?
Your application has access to its own private portion of /data (/data/data/your.java.package.name/files). If I recall correctly, you can use adb push and adb pull to manipulate files in the private data areas of your debug apps. However, you cannot "explore" it because you do not have read access to /data.