Export the SQLITEDB into .csv or .pdf
If you want to export the sqlite db into .csv or .pdf. You are going use the following libraries OPENCSV-2.3.jar iTextPDF – 5.2.1.jar Task of Creating CSV public class ExportCSVTask extends AsyncTask<String, Void, Boolean> { private final ProgressDialog dialog = new ProgressDialog( MainActivity.this); protected void onPreExecute() { this.dialog.setMessage("Exporting database..."); this.dialog.show(); } @Override protected Boolean doInBackground(String... params) { File dbFile = getDatabasePath("basic_db"); File exportDB = new File(Environment.getExternalStorageDirectory(), ""); if (!exportDB.exists()) { exportDB.mkdirs(); } File file = new File(exportDB, getDateTime()