I've been using B4A for a few months now and made great progress. My app uses a SQLite database and works well, but encryption was requested by the client, so I bought the SQLCipher.net libraries (Vr 3.8.0.2 from Zetetic) and created an encrypted version of my db. The command line utility shows the db is OK.
I downloaded the SQLCipher library and copied the contents of the libraries folder to the Basic4Android Libraries folder, and copied icudt46l.zip to the Files folder of my project (and added it to the project). I then added the SQLCipher library to the project, added an instance of SQLCipher and used it instead of the SQL object to open the database - adding the password parameter. The original SQL object remains in the project. It fails to open the encrypted database - "database is encrypted or not a database file".
I have written a quick test project to double-check, and it doesn't work either. I noticed the Zetetic website offered free Android binaries, so downloaded them. I tried their version of icudt46l.zip - no difference, then overwriting the B4A SQLCipher jar files with theirs. The project doesn't then compile - at the Java stage, it says that SQLCipher is missing. I noticed that no XML files were included in the Zetetic download.
Have I missed something ?
I downloaded the SQLCipher library and copied the contents of the libraries folder to the Basic4Android Libraries folder, and copied icudt46l.zip to the Files folder of my project (and added it to the project). I then added the SQLCipher library to the project, added an instance of SQLCipher and used it instead of the SQL object to open the database - adding the password parameter. The original SQL object remains in the project. It fails to open the encrypted database - "database is encrypted or not a database file".
I have written a quick test project to double-check, and it doesn't work either. I noticed the Zetetic website offered free Android binaries, so downloaded them. I tried their version of icudt46l.zip - no difference, then overwriting the B4A SQLCipher jar files with theirs. The project doesn't then compile - at the Java stage, it says that SQLCipher is missing. I noticed that no XML files were included in the Zetetic download.
Have I missed something ?