B4J Question B4J SQLCIPHER

DOFER

Member
Hola, esto va dirigido a mcqueccu y a los que mas sepan de esto ... para apuntar que sobre el ejemplo del hilo https://www.b4x.com/android/forum/threads/open-encrypted-sqlite-databases-with-b4j-sqlcipher.162466/ .... que cuando se activa la libreria KeyValueStore interfiere con el driver de jdbc que conecta con la bd sqlcipher, porque KeyValueStore lleva una instancia interna a sqlite que lo impide..., si no fuera por esto el ejemplo va perfecto, pero en cuanto activas KeyValueStore se fastidia. No se si sería posible modificar KeyValueStore... Gracias.
 
The kvs is a b4x library, you can modify it, just change the DependsOn to the jdbc version which supports sqlcipher .
 
Last edited:
Upvote 0
The kvs is a b4x library, you can modify it, just change the DependsOn to the jdbc version which supports sqlcipher .
It works, what is your problem?

ok.png
 
Upvote 0
As I said at post#2, you need to modify this KVS library.

kvs.png


I have attached the kvs library I modified, which depends on sqlite-jdbc-3.46.0.0.jar, you can download it from github or this link.
Note: put them into the addlitional folder.
 

Attachments

Last edited:
Upvote 0
Thanks for your reply, Teddybear. I had tried that before, but it didn't work. And activating the KeyValueStore to use JRDC2 is causing a conflict. I'll try another way. Regards.
 
Upvote 0
Back
Top