A have been developing an application aimed at Asus Transformer using SQLite database. When compliing with Debug all is well. However, if I select Release mode as soon as the database trys to initialise I get the message Cannor Open the Database in Read/Write mode.
I have written a new test app which does nothing apart from initialise the database. This app also works in Debug but not in Release.
Sub Activity_Create(FirstTime As Boolean)
Dim WiE3SQL As SQL ' This in Process_Globals in the main app
WiE3SQL.Initialize("/sdcard/","WiE3SQLTest",True)
WiE3SQL.ExecNonQuery("DROP TABLE IF EXISTS Device")
End Sub
I have also tried changing the file name of the database - same result.
A assume that it is a problem with the Asus so I have done Soft Reset but no change.
Any ideas?
I have written a new test app which does nothing apart from initialise the database. This app also works in Debug but not in Release.
Sub Activity_Create(FirstTime As Boolean)
Dim WiE3SQL As SQL ' This in Process_Globals in the main app
WiE3SQL.Initialize("/sdcard/","WiE3SQLTest",True)
WiE3SQL.ExecNonQuery("DROP TABLE IF EXISTS Device")
End Sub
I have also tried changing the file name of the database - same result.
A assume that it is a problem with the Asus so I have done Soft Reset but no change.
Any ideas?