Android Internal Storage

I need to save an object in the internal memory of the phone, how can I do this in Android.

+3
source share
4 answers

Please provide more detailed information about what you mean when pronouncing the object? do you mean some kind of file? in case you want to save some files in the internal storage http://developer.android.com/guide/topics/data/data-storage.html#filesInternal

+1
source

To store data, see Data Warehouse.
To save an object in SharedPreferences, you need to make this object class as parcable by implementing Parcelable

0
source

Deploy the serializable object and write this object to a file on external media. See http://developer.android.com/guide/topics/data/data-storage.html#filesExternal for more information.

0
source

Source: https://habr.com/ru/post/1783343/


All Articles