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...
link: it with databases created with the previous version.
I can change the name of this class to KeyValueStore2...
link: Please start a new thread in the questions forum....
link: :1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT
The stored data is an IP address
Thank you in...
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...
link: Convert it to a List where each item is an array of objects.
For further discussion please start a ...
link:
my Code
But what type Allarme is? If it is a custom type, define it in Main and your code will wor...
link: (setup) Create, isFirst = true **
Error occurred on line: 86 (KeyValueStore)
java.lang...
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 [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...
B4i Library [class] KeyValueStore - Erel    
Nov 6, 2014   
(3 reactions)B4i implementation of KeyValueStore.
KeyValueStore class makes it simple to save and retrieve objects from a key/value store.
See this tutorial for more information: http://www.b4x.com/android/forum/threads/26317/#content
WriteEnctypredObject / ReadEncryptedObject are currently not implemented.
Note that this module doesn't work with the current beta....
link: KeyValueStore v2 is available here: https://www.b4x.com/android/forum/threads/b4x-keyvaluestore-2...
B4i Question Simple question KeyValueStore & Map - marcick    
Jan 25, 2023Working with KeyValueStore, does it make sense at startup to load a copy in a standard Map and then use it ?
Or it is the same reading directly the kvs file when it is needed ?
I mean in terms of execution time, resources etc...
link: you need the value in some tight loop then better to read it once and reuse....
B4i Question Save list with KeyValueStore - angel_    
Jul 30, 2022I am trying to save a list with KeyValueStore but I am getting the following error:
Sub... As KeyValueStore
Private ListStoreData As List
Private B4XComboBox1 As B4XComboBox
Private..., "store")
ListStoreData.Initialize
ListStoreData = kvs.Get("ListaElementos"...
link: Solved, thank you very much, I did not expect to have to initialize twice...
link:
I am trying to save a list with KeyValueStore but I am getting the following error:
The problem...
Other [B4X] KeyValueStore2 -order is not preserved - LucaMs    
Apr 15, 2021I had a problem using KeyValueStore2 and, "investigating", saw it uses "INSERT OR... KeyValueStore2, without me being forced to unnecessarily create my own lmKeyValueStore(2).
I kept the original...
link:
Please note it is only a flaw if it does not work as documented. It does work as documented, see ht...
link:
I believe not many people know about the SQLite "INSERT OR REPLACE" flaw
Please note it ...
link: use a database. A database is never guaranteed to return values in same order as you stored them in...
B4i Question [Solved] KeyValueStore with booleans variables - angel_    
May 3, 2020In B4A when I write kvs.GetDefault("BooleanVariable", True) return True or False, but en B4i return 1 or 0.
Reading this thread, How do i to compare values?:
https://www.b4x.com/android/forum/threads/how-to-correctly-compare-values-get-expected-results-and-avoid-crashes.117088/#post...
link:
If kvs.GetDefault("BooleanVariable", True) then 'is it correct?
This is correct. It will treat 1 as True.
Second op...
link:
If kvs.GetDefault("BooleanVariable", True) then 'is it correct?
This is correct. It will treat 1 as True.
Second opt...
B4i Question KeyValueStore save a map with different types - narek adonts    
Aug 18, 2015hi,
I have a map with different type (custom types, text, bitmaps,...)
I am trying to save this map...
link: I am even trying to do
RAF.WriteB4XObject(bitmap,0) it gives the same error
But it was Ok when I wa...
link: I have changed the code.
Instead of saving the bitmap I am saving the bytes of that bitmap....
link: WriteB4XObject as well as B4A WriteObject method do not support writing bitmaps.
You need to take th...
Page: 1  
2  
3  
4