Hi,
sorry for my english, I'am an italian student.
I need help. I have to open, from my application, /data directory, but
using the "ls -l" command in adb shell, I read following lines :

drwxrwx--x System System      2009-05-08   11:28 data

and when I launch this code :

File data = new File("/data");
if(data.isDirectory()){
   Log.v(TAG, "directory");
}
String []child = data.list();
Log.v(TAG, String.valueOf(child.length));

I have this output :

"directory
 0
"

So my application is not able to read files located into this
directory.
Somebody can help me?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to