user2402770
user2402770

Reputation:

Should I use database for only two string? (Android-java)

I have two edittext and save button. When application is started, last data will coming. I know SQL ite database for it but can I use a text file or another thing. Is Sqlite correct always? And can I give example for save data from two edittext , and I get data to edittext.

Upvotes: 0

Views: 80

Answers (1)

danik
danik

Reputation: 856

Developers Guide says:

"If you have a relatively small collection of key-values that you'd like to save, you should use the SharedPreferences APIs"

Upvotes: 3

Related Questions