Ben wrote:
> I'll open with, I googled this thing like crazy, searched anddev and a
> few other boards (including this one) and can't quite find what I'm
> looking for.
> 
> The predicament : all CSV examples are in reference to contacts, and
> the file read/write posts (the ones that I need) make the assumption
> that I am not a beginner and most don't even post any code leaving me
> nothing to learn on.
> 
> The hopeful solution : a link to a solid example of simply how to
> write to a CSV with my own custom fields and values, and how to read a
> CSV and load said values.
> 
> I don't imagine anyone is going to take the time to write the code
> solely to post it here, so if you can just point me in the right
> direction it would be greatly appreciated.

There are plenty of Java CSV libraries and examples. On StackOverflow
alone there are >100 search results for "java csv", such as:

http://stackoverflow.com/questions/101100/csv-api-for-java
http://stackoverflow.com/questions/843997/csv-parsing-in-java-working-example
http://stackoverflow.com/questions/200609/can-you-recommend-a-java-library-for-reading-and-possibly-writing-csv-files

Those link to all sorts of JARs that can read/write CSV. One is likely
to work on Android unmodified -- just drop it in your libs/ directory,
add it to your build path if you're using Eclipse (it's automatic from
Ant), and give it a try.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 1.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to