Hey Mark,

Thanks for the answer. So how can i backup that database file? I now
have a file tvgids.db on my sdcard (so path is /sdcard/tvgids.db)

How can I make a copy of that?

Wouter

On 23 okt, 19:05, Mark Murphy <[email protected]> wrote:
> Wouter wrote:
> >> Now I can do several updates to the tvchannels table and i want to
> >> make a backup of this table to a lokal database file. How can i do
> >> that?
>
> Copy the database file to a backup file. Either you already know your
> path to your database, or you can use getDatabasePath() to find that path.
>
> To be safe, I recommend you have all SQLite* objects and Cursors on that
> database closed before making the file copy.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android 1.6 Programming Books:http://commonsware.com/books
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to