I am trying to export SQLite data to SD card in android as a CSV file on a directory.
So i have tried this method below and apparently it only shows this text printe
First of all remove this line to have a valid csv formatted document.
printWriter.println("FIRST TABLE OF THE DATABASE");
Second, make sure you have data in your table and check if your query actually returns anything by debugging.