Hi, Can anyone please tell me how to save existing database to sd card and then later read from that file ? Here's what I want. I have created an application which writes to the db (sqlite) as and when the user enters data through a form page. I want to make an option to save existing database to a file on sd card, so that the user can do a restore from that saved database file. Once the user has saved the database the data persists even after the application has been uninstalled from the device, so that after he re- installs the application the old database is persistent and he can restore data from that file.
I do not want to read and write to it every time the user saves new data. I want it do save or restore on user demand. I have not worked with files yet, so I do not have any clue as to how it can be done. I would really help me if someone can give me some pointers or a sample application which does the same. Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

