Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android SharedPreference lifecycle

In my application I have a few SharedPreference values. The mode is PRIVATE (0), so these preferences are in bounds of application. What I'm interested in, is are they removed after de-installation of the application? Or they still stay somewhere in the system until clear() will be called? Thanks.

like image 483
lomza Avatar asked Nov 04 '11 14:11

lomza


1 Answers

Deinstalation shall remove shared preferences. APK update preserves them

like image 178
Konstantin Pribluda Avatar answered Oct 14 '22 17:10

Konstantin Pribluda