做同样的事情,清除数据按钮 [英] Do the same thing as clear data button
本文介绍了做同样的事情,清除数据按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法做到这一点不明确的数据按钮,从设置 - >应用程序 - 同样的事情>管理应用程序到应用程序编程?
Is there a way to do the same thing that does clear data button from Settings->Application->Manage Applications to an application programmatically?
否则我想在点击删除所有共享preferences。那怎么办?
Or else i want on click to delete all sharedpreferences. How to do that?
推荐答案
要删除所有应用程序preference 共享preferences.Editor.clear()
方法。
请参见的详细信息,该文档。
To delete all your application preference SharedPreferences.Editor.clear()
method.
See this documentation for details.
这篇关于做同样的事情,清除数据按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文