Thread: SMS trouble
-
11-21-2008, 09:36 AM #1
SMS trouble
Dear all, I'm a new iphone "developer", but not an ufficial one, just for fun.
I start develop an application that works on sms.db.
I want to enable the full delete of message sent by a fixed persons.
If I try to make a SELECT statement to message table all works fine.
Problems comes when I try to make a DELETE from the db, I get an "attempt to write a readonly database" error message.
I think that is a problem of permission on sms.db, there exist a method to lunch my application as "root user" to enable it on modify this file?
Any other ideas on how resolve this problem?
Cheers
MassimoLast edited by giomax; 11-21-2008 at 09:38 AM.
-
11-22-2008, 11:25 AM #2
well if you're using the sdk to make your application then it definitely wont let you write/delete to sms.db
but if you're using the toolchain, try chmod'ing the sms.db to 777 or chroot'ing your application to root.hit thanks if thanks are due.
-
11-24-2008, 01:37 AM #3
Yes I use the SDK, but I don't know what toolchain are.
Can you tell me more about it, or give me some link?
Thanks



LinkBack URL
About LinkBacks
Reply With Quote