I have this app , it consists of two activities:
- activity 1 : inserts data.
- activity 2 : show inserted data.
Now on activity 1 I want to store data with key \ value that can be stored in a single file .
For example:
one file would store three strings and one image.
I've tried using sharedPreferences but it does not store images also when I encode the image to Base64 and then put in the sharedPreferences. then the stored sharedPref.xml size becomes over 150K and my image is only 5K
So what I want to do is store values with image in one single file and then transfer those files to be displayed in the second activity.
How can I do this?