Hi all,

I have an application which can write/read files on SDcard. Every time
I launch the emulator, I run: emulator -sdcard sdcard.
It's working fine.

But, I have another application where I'd like to read files wrote by
the first one. But this particular application, after
getExternalStorageDir() method, says that sdcard is empty...I mounted
it, checked, the files of the first application are still present. So
I ran some more tests and I saw this. In the second app:
File f = Environment.getExternalStorageDir();
f.canRead() = FALSE; ??
f.canWrite() = FALSE; ??

why? I do not get it...Why is the first application able to read/write
on the SD and not the other? I use the exact same method on both of
them, so this is crazy...

PS: If that helps, second application is a service.

Best Regards,

Guillaume

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

Reply via email to