I would like to export an sqlite database to csv in android. I tried with importing with opencsv.jar but it didn't work out. Is this an issue due to ADT version 17 upgrade. Is there any other way to convert an sqlite database to csv in android. Please help me with a example. I tried this example
Asked
Active
Viewed 6,762 times
3
-
You tried that example. And the result was? – Gabriel Petrovay May 18 '13 at 19:56
-
Since the issue with CSVWriter couldn't get rid off,I wasn't able to proceed further.I did import jar file properly but it stands the same.. – Karthik May 18 '13 at 20:18
1 Answers
0
This answer provides pretty good code to start from for exporting sqlite to a csv and sending it as an email attachment.
The first few columns are hardcoded with the users data so you'll have to change that with your own data but, the core of what you need is there.