Im struggeling a little bit with arrays. My applications uses data stored in an array (res/array-xml), but I want the user to be able to create custom arraydata and store these in a file on the device. Or even better, download arraydata from the internet.
I haven't found out wether I should use XML with a custommade XMLParser or a flatfile with CSV. The use of a database is also an option, but that will most likely be added in version 2... ;-)
The arraydata is best organized in a two-dimentional array. The data looks like this;
name[0],name
name[1],name
name[2],name
address[0],streetname
address[1],streetname
address[2],streetname
city[0],name
city[1],name
city[2],name
Is there a nifty way to get this flatfile into an array looking like this:
array[0..2][0..2]name
Or, even better, a nifty way to read an XMLfile and get a array like this?
Or shuld I just start with this example and modify it to my needs?