Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android import export database

there. I am trying to implement a feature into my app to copy the current database unto the sdcard. Are there any tutorials or code snippets to achieve this. I've already looked at this site, http://mgmblog.com/2009/02/06/export-an-android-sqlite-db-to-an-xml-file-on-the-sd-card/ ... but I wont be able to import the data with this method.

like image 518
Trebak Avatar asked Feb 03 '23 06:02

Trebak


1 Answers

For backing up your Android SQLite database to the SD card.

And refer this stackoverflow question (Making a database backup to SDCard on Android): Making a database backup to SDCard on Android

like image 147
Paresh Mayani Avatar answered Feb 06 '23 16:02

Paresh Mayani