views:

27

answers:

0

Hi all,

Im doing an app which uses sqlite db file in assets folder, There is a screen in my app having a button 'check for update'.

Client has given me an URL link to update db file(which gives a sqlite file). When user clicks on the button i need to upgrade the old db file with new db file from URL.

I need to replace the old file at '/data/data/package/databases/' path with the new file.

Is it possible to do this?

Please suggest me how i can do this, or give me a reference to follow

Thank you