So I want to have data that i receive to be saved on an SD card . I want to steer away from using files to do that I do not have to worry about Synchronization issues since I will have other Apps accessing this data for read/write operations, so I have decided to go with Database approach. My questions here are:
- What is the best way to achieve this with minimal amount of work required for the Database approach? Does Legato have any DB abilities built into it? If not how can I import something like SQLite to use?
- If DB is not a good approach then what is the better approach to achieve this?
Note my database will be saving data in hex format along with another column for timestamp and maybe an extra one to specify if a row was read by another App or not.
For memory I have couple of GB on SD card but won’t be going up that high as we are adding/removing from it and if it does get to a certain point (say 20-30MB) then we should purge it and start over