Looking for a BackupAgent (for a sqlite database) example
I see several examples here, but none speak to back开发者_运维百科ing up SQLite databases specifically, does anyone have a sample of doing this? http://www.microdu.com/docs/guide/topics/data/backup.html
You may want to try this question which gives an answer on how to backup your SQLite database so that it will be restored if someone installs it on a new phone (using Google's BackupAgent).
On the other hand, if you want to backup the database yourself, then you could copy it to your SD card as seen done in this question.
精彩评论