Android: Should I use local Storage or SQLite (or similar)?

Tags: , , ,



I am just starting to learn Android Development. I have to develop something similar to a Log APP where the user can save information.This is student project, so I don’t have to use Users/Passwords, instead I am allowed to save the info using the Local Storage of the device.

The problem is that I will need to extract that info into a CSV file, and I am not sure if using Local Storage is the best option.

Which option do you think is more efficient?

Which one do you think is less complicated to use in this case?

Thanks in advance!

Answer

You probably wanted to use Room for it is the official Android Database framework and the learning curve is quite easy. It even supports other Jetpack libraries such LiveData to make your Android development far more easier.



Source: stackoverflow