Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void excelWriter(){
- TextView text = (TextView) findViewById(R.id.info);
- String filename = "save.csv";
- text.setText(baseDir);
- try {
- String[] array = values.toArray(new String[values.size()]);
- CSVWriter writer = new CSVWriter((new FileWriter(filename)));
- writer.writeNext(array);
- writer.close();
- }
- catch (IOException e)
- {
- }
- }
Add Comment
Please, Sign In to add comment