Hi,
I tried to run it on debugger but it seems after the
Log("Execute SELECT query here.") the application closed and stop.
Sub Activity_Create(FirstTime As Boolean)
File.Copy(File.DirAssets,"bond.db",File.DirInternal,"bond.db")
If SQLCipher1.IsInitialized = False Then
SQLCipher1.Initialize(File.DirInternal,"bond.db",False,DBPASSWORD,"")
Dim Cursor As Cursor
Cursor = SQLCipher1.ExecQuery ("PRAGMA cipher_migrate") '<==== only enter this line
Log("Execute SELECT query here.")
Cursor = SQLCipher1.ExecQuery("SELECT * FROM transactions")
Cursor.Position =0
Msgbox(Cursor.GetString("transaction_no"), "")
End If
End Sub
And here is the log file
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
Execute SELECT query here.
Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Ignoring event (too many queued events: CallSubDelayed - UpdateStatus)
Anyways, I'm using SQLiteStudio 3.1.1 when creating a SQLCipher database.
Thanks in advance.