Android Question How to initialize an encrypted sqlite db created by another app ?

DARDENNE Marc

New Member
Licensed User
Longtime User
I have created a database sqlite in vb 2015 with that code:
dim cmd as new sqlite.sqliconnection
cmd=new sqlite.sqlite.rconnection("Data Source = vetesmart.db;Password = "abcd")
Once the database file is on my android phone
I would like to read it with my B4A app.
How can i use db.initialize(databasedir,databasename,false)
Can I use
dim PW as string = "abcd"
db.initialize(DatabaseDir,"vetesmart.db;Password = " & PW & ";",false)
 

DARDENNE Marc Soveto

New Member
Licensed User
Longtime User
Visibly it do not work with SQLCipher

Database has just be created using VB 2015 code with Data.sqlite.org DLL so I don't know witch encryption.
On a Psion using Compact Framework and Windows mobile CE 5.0 it works with the same code and witout using SQLCipher.
 
Upvote 0
Top