Question

I want to store data in android application date wise, i.e different data for different day. The data will be just integer values and meanwhile want to retrieve it date wise only. i want to store it in a single file. and then want to display it in a chart format in android datewise.. so is there any way i can do it. or can anyone guide me. Thanks

Was it helpful?

Solution

You can have a look on SQLite Storage.if you want store it in table format. Which can store the values in table format and it will be easy for you to retrive. I think this is the best option.

OTHER TIPS

Assuming below are file contents. Read all contents of file in StringBuffer and then get daywise contents by spliting based on "-------EOD----". This will return daywise text.

12/02/2014 1111222222222
-------EOD----
11/02/2014 1111222222222
-------EOD----
10/02/2014 1111222222222
-------EOD----
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top