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 th开发者_Go百科is?
thanks!
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.
精彩评论