I created a csv file with the following format, which I am going to output to the device’s SD card:
Ship Name,Scientist Name,Scientist Email,Sample Volume,Sample Colour,Longitude,Latitude,Material,Date
Each of the vales in csv will have a type string, with the exception of the last date value. Csv file name AnalysisData.csv
I looked at examples on Stackoverflow, such as Exporting my data to a CSV file from an android application , but this creates a new file that I don't need.
I already added opencsv jar to my project, so I just need an appropriate example.
Does anyone have any tips for achieving this on Android?
android csv opencsv sd-card
Brian j
source share