Yosi199
Yosi199

Reputation: 1804

What's the best way to go about saving data to file?

I'm writing an Android application that needs to store dates and time into file and then read from this file and display it in an activity. What is the best way to go about this? any common practices about this?

thanks!

Upvotes: 0

Views: 51

Answers (1)

Nikola Despotoski
Nikola Despotoski

Reputation: 50538

You can use SQLite database which allows you use of date functions.

http://www.sqlite.org/lang_datefunc.html

Read here aboute SQLite date and timestamp functions.

Upvotes: 1

Related Questions