B4J Library [B4X] KVS2 / KeyValueStore 2 - Simple & Powerful Local Datastore - Erel    
Jul 16, 2020   
(41 reactions)-keyvaluestore2-library.120234/
KeyValueStore is a persistent key/value based data store. It is similar to... (a list that holds maps for example).
KeyValueStore depends on the following libraries: SQL...)
Note that starting from B4A v8.0 KeyValueStore2 is included as an internal library..../forum/threads/b4x-cloudkvs-synchronized-key-value-store.63536/#content
Updates:
- V2.20 - Adds support...
link: it with databases created with the previous version.
I can change the name of this class to KeyValueStore2...
B4A Library [B4X] KVS - KeyValueStore library - Erel    
Jul 21, 2021   
(30 reactions) be object or bytes
This library is named KeyValueStore. There is an older library named KeyValueStore2...A key / value persistent store. The data is serialized using B4XSerializator and is stored in an internal database. The database can be shared between B4A, B4i and B4J.
Using KVS is similar to using....dat")
kvs.Put("time", DateTime.Now)
'fetch this value
Log(DateTime....SetBitmap(kvs.GetBitmap("bitmap1"))
'remove the bitmap from the store
kvs.Remove...
B4A Tutorial KeyValueStore class - Simple and efficient key/value data store - Erel    
Feb 17, 2016   
(16 reactions)KeyValueStore v2 is available here: https://www.b4x.com/android/forum/threads/b4x-keyvaluestore-2..., HashMap...). The main difference is that the store is persisted in the file system.
KeyValueStore....WriteObject or WriteEncryptedObject to save collections and user types.
Using KeyValueStore is similar to using a Map:
Sub Process_Globals
Private kvs As KeyValueStore
End Sub
Sub Activity_Create...
link: Old thread, I know, but maybe this post can be anyway useful.
I found a problem (one more reason to use the latest version)
Dim N As String = "1234567890123456789012345678"
KVS.PutSimple(&...
B4J Library KeyValueStore class - Erel    
Feb 17, 2016   
(2 reactions)/android/forum/threads/share-encrypted-data-with-b4a.35482/#content
KeyValueStore v2 is available here: https://www.b4x.com/android/forum/threads/b4x-keyvaluestore-2-simple-powerful-local-datastore.63633/...This is a port of this class: http://www.b4x.com/android/forum/threads/keyvaluestore-class-simple-and-efficient-key-value-data-store.26317/
Note that you need to add the following attribute to your project:
#AdditionalJar: sqlite-jdbc-3.7.2
If you want to use PutEncryptedObject...
Share My Creation [B4X] B4X Pleroma - open source client for Mastodon / Pleroma social networks - Erel    
Nov 4, 2020   
(16 reactions), BitmapCreator, MiniHtmlParser, OkHttpUtils2, OAuth, KeyValueStore, XUI Views, B4XPages, B4XDrawer.... Resources = images, videos and animated gifs.
Google Play: https://play.google.com/store/apps/details?id=b4a.pleroma
iOS app store: https://apps.apple.com/app/b4x-pleroma/id1538396871
Code: https...
B4A Question Conflict in merge for keyvaluestore and sqlcipherb4a when R8optimize is true - mcqueccu    
Oct 25, 2026Sqlcipherb4a depends on sqlite-2.4.0.aar and when I add keyvaluestore, it seems to be pulling some AndroidX SQLite 2.5.2, hence creating a merge conflict when compiling with R8 optimization = true
:null,0
java.lang.ClassNotFoundException: com$SQLCipherB4A$SQLCipher
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:591)
at java.lang.Class.forName...
link: This issue will only happen in debug mode. You can workaround it by adding a few proguard rules, however it is better to test R8 in release mode. I will update the tutorial....
B4A Question Bitmap to KeyValueStore - Sergey_New    
Feb 9, 2025I used kvs this:
Starter.kvs.PutBitmap(id,bmp)
Now I need to additionally save another string parame...
link:
Welli a new speed requirement, perhaps it works to store the image in blob and the two otter...
link: Welli a new speed requirement, perhaps it works to store the image in blob and the two otter...
link: teddybear, MicroDrie thanks!
Unfortunately too many transformations will take a significant amount o...
B4A Question KeyValueStore - Sergey_New    
Feb 1, 2025.ListKeys
For i=0 To tempList.Size-1
Dim id As String=tempList.Get(i)
Log(id )
Next
'id...
link: I also have created MinimaList b4xlib which work similarly to KeyValueStore but with many extra...
link: Sub GetValuesByRowids As List
If you are interested and/or have any other functions in mind, let me...
link: GetValuesByRowids As List
If you are interested and/or have any other functions in mind, let me know....
B4A Question [B4X] [XUI] AS Settings KeyValueStore - wimpie3    
Oct 9, 2024I've seen that AS Settings uses the KeyValueStore to save the data. Is there a way to import/export these settings and store them in my own database, without passing through the KeyValueStore...
link: Yes, working now with 2.09!...
link: Please test this pre release version...
link: and I try to add an action with the value shown on the AS Settings page is java.lang.Object@6c669567...
B4A Question SSL Websocket client - LucaMs    
Jan 18, 2018   
(1 reaction)Trying to connecting to my websocket server:
closed javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x63a133b0: Failure in SSL library, usually a protocol error
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:741 0x61803166:0x00000000)
Libraries used:
client: WebSocket 2.00
server: jServer 2.80
The server starts and it is reachable (ping). I suppose that if the server SslConfiguration (and the keyvaluestore...
Page: 1  
2  
3  
4  
5  
6  
7