我想在设备上保存用户数据,但我不想使用数据库。我能做到吗?应用程序应该在需要时使用此数据
答案 0 :(得分:0)
您可以使用SharedPreferences: http://developer.android.com/training/basics/data-storage/shared-preferences.html
其他存储选项: http://developer.android.com/guide/topics/data/data-storage.html
答案 1 :(得分:0)
SharedPreferences是您实现这一目标的最佳方式。