A few months ago, I made an Android app. But in the time, I didn't think that I would ever need to make a backup of my database. The truth is, now I do but I didn't implemented it.
Now, is there anyway for me to make a database backup, without loosing the data? Because I think if I make the method for my database backup, when I build the app, I will loose all the data, since I have this method:
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
db.execSQL("DROP TABLE IF EXISTS " + POINTS_TABLE);
db.execSQL("DROP TABLE IF EXISTS " + NETWORKS_TABLE);
onCreate(db);
}