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.
 

teddybear

Well-Known Member
Licensed User
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

teddybear

Well-Known Member
Licensed User
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

teddybear

Well-Known Member
Licensed User
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

  • KeyValueStore1.b4xlib
    2.2 KB · Views: 6
Last edited:
Upvote 0
Top