I’m trying to open file on proprietry SDCARD usign standard method:
hFile= open(filePath, O_RDWR|O_NONBLOCK|O_DIRECT);
Sdcard is our proprietry card which was created using external tool, and when card is inserted ingo Android phone, the permission of file is:
—-rwxr-x system sdcard_rw 65536 2011-11-06 12:13 IMSP
I guess Android decides on this permission.
Anyway, file can’t be open for writing
Is any way to change the android application userid or groupid?
Regard, Costa.
Ok, the solution is simple, just add:
uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE”
To the manifest file