D DOFER Member Nov 7, 2025 #1 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.
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 Nov 8, 2025 #2 The kvs is a b4x library, you can modify it, just change the DependsOn to the jdbc version which supports sqlcipher . Last edited: Nov 8, 2025 Upvote 0
The kvs is a b4x library, you can modify it, just change the DependsOn to the jdbc version which supports sqlcipher .
teddybear Well-Known Member Licensed User Nov 9, 2025 #4 teddybear said: The kvs is a b4x library, you can modify it, just change the DependsOn to the jdbc version which supports sqlcipher . Click to expand... It works, what is your problem? Upvote 0
teddybear said: The kvs is a b4x library, you can modify it, just change the DependsOn to the jdbc version which supports sqlcipher . Click to expand... It works, what is your problem?
teddybear Well-Known Member Licensed User Nov 10, 2025 #6 As I said at post#2, you need to modify this KVS library. 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 KeyValueStore1.b4xlib 2.2 KB · Views: 203 Last edited: Nov 10, 2025 Upvote 0
As I said at post#2, you need to modify this KVS library. 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.
D DOFER Member Nov 11, 2025 #7 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
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.