need help handling for "clear data"


Last Updated:

  1. ricky robi

    ricky robi New Member This Topic's Starter

    Joined:
    Sep 20, 2012
    Messages:
    1
    Likes Received:
    0
    i build application....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...
     

    Advertisement
  2. Unforgiven

    Unforgiven -.. --- - / -.. .- ... .... Moderator

    Joined:
    Jun 23, 2010
    Messages:
    31,630
    Likes Received:
    28,583
    I moved this to the application development forum to get some better eyes on it.:)
     
    jonbonazza likes this.
  3. alostpacket

    alostpacket Over Macho Grande? VIP Member

    Joined:
    Nov 29, 2009
    Messages:
    7,978
    Likes Received:
    3,603
    There are lots of ways to backup your data but not knowing how it is stored, means I can't really suggest how to back it up.

    However, there is no way for an app to listen for it's own "clear data" intent.

    I'd recommend you have some type of check to see if the data that you consider critical is there before using it.
     

Share This Page

Loading...