How to store data in file date wise in java(Android)

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


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.

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
11/02/2014 1111222222222
10/02/2014 1111222222222

Need Your Help

BFTask to return when nested query is complete

ios objective-c asynchronous parse-platform bolts-framework

I'm performing a query in conjunction with BFTask and Parse. Within the task is a nested query. I wish to return the task only when the outer query has finished fetching the necessary data to add to

x509.CertAndKeyGen is not found in JVM at OpenAM initial configuration

jvm single-sign-on x509 openam

In the combination of OSX Mavericks, OpenAM 10.1.0, Tomcat8 and JDK8,