android how to save an object to file?

前端 未结 3 2104
醉话见心
醉话见心 2021-02-15 16:01

Does someone know how to save and restore an object to a file on android ?

3条回答
  •  日久生厌
    2021-02-15 16:35

    It depends if You want to save file on internal or external media. For both situation there are great samples on Android DEV site: http://developer.android.com/guide/topics/data/data-storage.html - this should definetly help

提交回复
热议问题