I would like to export my database to my sdcard. I am trying to follow this question: Making a database backup to SDCard on Android
But since I'm still pretty new to programming, I'm not sure If I'm doing this right. I made a separate class for ExportDatabaseFileTask.java
so now I just have to call it in my main.
In my main I have an onClick listener that executes this code:
ExportDatabaseFileTask thing = new ExportDatabaseFileTask();
Is that line enough to run the code in my class to export the database?