i build application android….and i want to back up my database when user click “clear data” in manage application…because data is lost…some data is very critical for process in my application…how can i solved this???
please help me …..
thanks…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t override the desire of the user to delete data. Maybe he just does not use your app and needs space.
When your app starts after that it behaves like it was just freshly installed from the market. That is how it is intended and you should not try to work around that.