I've read this post which was very near my question and I still didn't found what I was looking for.
I'm developing an application that relies on two plain-text files: let's say weekdays.txt and year.txt. One file has most likely (yet to define) seven lines, so it's very small (few bytes), but the other will contain 365 lines (one per each day of the year), which is not very big in bytes (20 Kb tops, my guess), but requires more processing power.
The app is not yet done, so I'll try to be explicit:
So my application will get the current date and the time and will look on weekdays.txt for the line that corresponds to the current day of the week, parse that line's information and store it in memory. After that the program should read year.txt and look for the line that corresponds to the current date and parse (and store in memory) that line's info.
Then it should do print out all the stored info.
When I say 'parse the info' I mean parsing Strings, something as simple as:
the string "7*1234-568" should be read as:
String ID=7;
int postCode=1234;
int areaCode=568;
The goal here is to create a light (and offline, this is crucial) application for quick use.
As you can see, this is a Developing 101 level application, and my question is: do you think this is too heavy work for any mobile phone? The reason I'm asking this is because I want my app to be functional in the biggest number of today's cellphones possible.
By the way, do you think for this kind of work I should instead be working with a database? I heard people around the forum talking of RMS and some said that it's kind of limited, so I just stayed the same. Anyway the idea of the txt files was to be easiest for the user to update just in case it's necessary...
Thanks in advance!