I am trying to make a file containing the folder res/raw so I can use listFiles() so I can index all the files in that folder… I tried using
File folderDirectory = new File("/data/data/com.soundboard/res/raw/");
file[] soundFiles = soundDirectoory.listFiles();
ListFiles returns null, I think, unless I am reading my debugging info wrong (the soundFiles path is null)
What am I doing wrong?
You could use
cd /data/data/com.soundboardin adb shell to find there is nores/rawthere.Usually,
res/rawin .apk should be static, so you could unzip .apk simply and find out what are inres/raw.