need help handling for "clear data"

Discussion in 'Application Development' started by ricky robi, Sep 20, 2012.

  1. ricky robi

    ricky robi New Member
    5

    Sep 20, 2012
    1
    0
    5
    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
    4,238

    Jun 23, 2010
    32,450
    30,767
    4,238
    Male
    Douglas, MA
    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
    513

    Nov 29, 2009
    7,978
    3,603
    513
    Android App Developer
    NY
    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...