开发者

Does application preferences remain after Android system upgrade?

I want to store preferences which are A开发者_StackOverflow社区ndroid version dependent (eg. User Agent string obtained from WebView).

When user is upgrading system (say from 1.6 to 2.1), does those preferences last?

I want to retrieve User Agent from WebView once, then store it in SharedPreferences. When system is upgraded I want to update this value.


Yes, of course they'll stay. Each app has it's own storage for preferences and they can be cleared when app is removed or in "Manage applications" by pressing "Clear Data" button for selected app.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜