Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Internal Storage when updating application

I use the internal storage (http://developer.android.com/guide/topics/data/data-storage.html#filesInternal) to store some necessary application files, that the user creates.

I suppose that these files are stored forever right? They are removed only when the user uninstalls the application, am I correct?

In case of updating the application (for example from version 1.0 to 1.1) through the Android Market, then what will happen to the files that were stored from the previous version? Are they deleted or not?

Thank you in advance.

like image 908
steliosf Avatar asked Apr 27 '12 16:04

steliosf


1 Answers

In case of updating the application (for example from version 1.0 to 1.1) through the Android Market, the files that were stored from the previous version will be there on the device and if you uninstall the app to get the new version then the files will be deleted.

like image 122
Shankar Agarwal Avatar answered Dec 06 '22 17:12

Shankar Agarwal