Hi,
I am having the same problem here. It is the getWritableDatabase()
that fails showing the following error:
sqlite3_open_v2(/data/data/com.powwau.gtd.android/databases/gtd,
handle, 6, NULL) failed
I have been porting my app from m5 to 0.9 and followed the Notepad
tutorial.
Any ideas?
emulator -wipe-data solved it. Thanks.
Jorge
On Sep 2, 7:18 pm, Jorge D Ortiz [EMAIL PROTECTED] wrote:
Hi,
I am having the same problem here. It is the getWritableDatabase()
that fails showing the following error:
sqlite3_open_v2(/data/data/com.powwau.gtd.android/databases/gtd,
Actually the issu was ...; in the rights attributed to the databases
directory !!!
I have changed the right thanks to a chmod 777 and now it works fine !
I don't understand which user is used when laucnhing the app but my
issu is solved. I hope I wont have the same issu on final telephone !
You shouldn't have to change the database directory permissions
manually...getWritableDatabase() should do that for you.
Infact that is what it does in the Notepad tutorial. I don't see the create
database script being executed from your DBHelper.onCreate() method.
Is this database being created
4 matches
Mail list logo