I have this CSV file format:
"1", "testing <[image|media]>" , "1"
how can to read it from sdcard and put the parsed data in a listview or textview in Android?
I have this CSV file format:
"1", "testing <[image|media]>" , "1"
how can to read it from sdcard and put the parsed data in a listview or textview in Android?
You can use java.io.Reader and split string on ","
Take a look here where I describe a regex you could use. You may need to tinker with it to deal with the extra spaces you have on either side of your commas.
Please remember that rolling your own CSV reader is likely to cause you trouble down the line. Please try very hard to use a ready-made one like OpenCSV mentioned elsewhere.