I have an application that requires the user to login into their
account, and each account has it's own database. I want to know what's
the best way to clear a database when the user log's out of their
account?

I've tried context.deleteDatabase() but I have a problem where when
the user re-login into any account, data won't be added to the
database. So I want to know if there is a better approach.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to