You can use ExternalLogger Library if you want (you can store just Strings as the library is not a real wrapper for the hole Idea but is it using Room as Database in behind.
It is an Logger which can be used inside an B4A app to store and read LOGs.
As you can mark each Logentry using a Tag (String too). You also could use it to store Data based on a specific Tag.
And then read them back by Tag, date or Text stored.
ExternalLogger
It may give you a start to play with.