Android Question Room

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

Has anyone had a chance to look at Room yet?

Room provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite.

Apps that handle non-trivial amounts of structured data can benefit greatly from persisting that data locally. The most common use case is to cache relevant pieces of data. That way, when the device cannot access the network, the user can still browse that content while they are offline. Any user-initiated content changes are then synced to the server after the device is back online.

Because Room takes care of these concerns for you, we highly recommend using Room instead of SQLite.


https://developer.android.com/training/data-storage/room/
 

DonManfred

Expert
Licensed User
Longtime User
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.
 
Upvote 0

fredo

Well-Known Member
Licensed User
Longtime User
Upvote 0
Top