Android的:如何使一个特定的共享preference系统重新启动后自行复位?重新启动、系统、Android、preference

由网友(大可爱)分享简介:我有我需要的手机重启后自身重置为初始值的共享preference ...任何想法?I have a SharedPreference that I need to reset itself to its initial value after the phone reboots... any ideas?推荐答案...

我有我需要的手机重启后自身重置为初始值的共享preference ...任何想法?

I have a SharedPreference that I need to reset itself to its initial value after the phone reboots... any ideas?

推荐答案

您可以看看到的 BOOT_COMPLETED 广播行动,并从接收重置preference。

You could look into the BOOT_COMPLETED broadcast action, and reset the preference from your receiver.

阅读全文

相关推荐

最新文章