更新时间:2023-10-12 16:45:46
共享$ P当应用被卸载$ pferences被删除,但你可以使用BackupManager执行备份到云 - 雷托迈耶具有良好的blog帖子获取您开始。
SharedPreferences are deleted when an app is uninstalled, but you can use the BackupManager to perform a backup into the cloud - Reto Meier has a good blog post for getting you started.
这种方法意味着如果用户应用程序安装到你一个新的电话,他们可以有自己的preferences复制到那里。
This approach means if a user installs you app onto a new phone they can have their preferences copied over to there as well.