开发者

Android internal storage

I need to store an object in pho开发者_运维问答ne internal memory, how can I do this in Android.


Hope you find this blog useful.

http://pierrchen.blogspot.com/2011/11/android-storage.html


Please give more details about what you mean when you say an object? do you mean some a file ? in case you want to save some files in the internal storage http://developer.android.com/guide/topics/data/data-storage.html#filesInternal


To store data refer Data Storage
In order to store a object in SharedPreferences, you need to make that object class as parcable by implementing Parcelable


Implement the serializable on your object and write that object to a file on external storage media. More info visit http://developer.android.com/guide/topics/data/data-storage.html#filesExternal

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜