B bhangorix Member Apr 8, 2020 #1 Hi, I wonder whether if android always kept data in keyvaluestore or clear it after reboot or something. i have search the forum but not getting any clues. Thanks
Hi, I wonder whether if android always kept data in keyvaluestore or clear it after reboot or something. i have search the forum but not getting any clues. Thanks
DonManfred Expert Licensed User Longtime User Apr 8, 2020 #2 KVS is basically a Sqlite Database. Once you store anything it is saved. After a reboot the value written should be existent. Upvote 0
KVS is basically a Sqlite Database. Once you store anything it is saved. After a reboot the value written should be existent.
B bhangorix Member Apr 9, 2020 #3 DonManfred said: KVS is basically a Sqlite Database. Once you store anything it is saved. After a reboot the value written should be existent. Click to expand... Oh, I see OK Then. So I can use it for storing simple 1 on 1 data rather than manage another sqlite db Thanks Manfred Upvote 0
DonManfred said: KVS is basically a Sqlite Database. Once you store anything it is saved. After a reboot the value written should be existent. Click to expand... Oh, I see OK Then. So I can use it for storing simple 1 on 1 data rather than manage another sqlite db Thanks Manfred
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2020 #4 bhangorix said: So I can use it for storing simple 1 on 1 data rather than manage another sqlite db Click to expand... It can also store complex data structures. Upvote 0
bhangorix said: So I can use it for storing simple 1 on 1 data rather than manage another sqlite db Click to expand... It can also store complex data structures.
B bhangorix Member Apr 10, 2020 #5 Erel said: It can also store complex data structures. Click to expand... I once asking about List of custom Type in this forum. Is it related to what you said about complex data structures? I tried, but handling the NULL giving me a headache Upvote 0
Erel said: It can also store complex data structures. Click to expand... I once asking about List of custom Type in this forum. Is it related to what you said about complex data structures? I tried, but handling the NULL giving me a headache
Erel B4X founder Staff member Licensed User Longtime User Apr 10, 2020 #6 Yes. bhangorix said: I tried, but handling the NULL giving me a headache Click to expand... Not sure what you are asking about. As a general rule avoid nulls at all. Upvote 0
Yes. bhangorix said: I tried, but handling the NULL giving me a headache Click to expand... Not sure what you are asking about. As a general rule avoid nulls at all.