Hello, I have been sufferring in one problem for several days.
Currently I'm running in the source code of "Settings" on Android2.2.
In AdroidMenifest.xml, we can see:
With this, many permissions can be accessed for the activities in Settings.
But with this statement, the sd card can't be accessed for Read/Write, I have tried to read files in directory
File f = new File("/mnt/sdcard/"+filename);
File f = new File("/sdcard/"+filename);
But all of them don't work, I got an exception telling me that the file didn't exist (I have already put the file there).
If I delete android:sharedUserId="android.uid.system", then I can access the file seccussfully . However, I need the android:sharedUserId="android.uid.system"
to make the other activitiese runs well.
Does anybody happened to meet the same problem, and have you solved it? Thanks!