A
A
akalavan2019-03-08 13:54:51
Android
akalavan, 2019-03-08 13:54:51

Which data storage method to choose?

Hello.
I am learning android. I'm trying to write something like "Diet Calculator". It is necessary to store data about the user (Name, height, weight, age, BJU, meal plan, training plan, etc.). I know that in android there are several ways to store data: preferences, SQLite and internal storage. Please let me know what is best for my problem.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
korvin2, 2019-03-09
@akalavan

In this case, I advise SQLite.
You can read this to know which option is better to use in the future - https://developer.android.com/guide/topics/data/da...

O
Oleg Zakharov, 2019-03-08
@blazenn12

To store such data, for me personally, Sqlite is the most convenient. This is almost a complete database. You can use orm, or you can not use it.

C
Chris, 2019-03-08
@tv_dakota

sqlite

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question