Each time my app updates the data of my DB, default rights are RW-RW----!
So each time I want to export my DB from Eclipse-DDMS to my PC, to check, I first have to make a chmod 777 on the .db file (adb shell), to restore the RWXRWXRWX rights.
That's not really fun!
So my question is: how could I do, in my Java code, to make a kind of "chmod 777", after all DB updates?
I already checked-out the SQLiteOpenHelper & Database classes, but found no functions dealing with the right...
Aucun commentaire:
Enregistrer un commentaire