1. Check out our companion app, Forums for Android! Download from Google Play

Deleting old database if upgrade the application

Discussion in 'Android Devices' started by narendardiscover@gmail.co, Sep 28, 2010.

  1. narendardiscover@gmail.co

    Thread Starter

    Sep 28, 2010
    I have a question regarding the "Updating application in Android Market".

    Suppose I have an application, for say Version 1.0.0, which has following type of private data
    1) Some DB
    2) Some Preferences
    3) Some Hidden Folders

    After some time later, suppose I make some changes in application, for say, I change the structure of table in DB,
    And now I have another latest version of that application Version 2.0.0.

    If user update the application from Android Market Place then Will the application update the structure of DB or it will be old one ?

    This is same for Preferences and Hidden Folder, ie how they behave if user update the application.

    Narendar Singh
    Software Developer


Share This Page