How do I save ImageView image in SharedPreference and display in other activity (Gridview)
Asked
Active
Viewed 34 times
1 Answers
0
You can save Image in SharedPreferences, by converting the image to Base64 format.
If you convert it, you would have an image in String format, that can be saved to SharedPreferences normally, and when you would like to retreive the image, you concert from Base64 to Bitmap.
You can check this answer, I believe it will help you.

MustafaKhaled
- 1,343
- 9
- 25
-
Without conversation it displayed in other activitythat problem is solved .. my question is how I can access that image to another activity gridview form – Ashok Poojari Jun 04 '22 at 04:38
-
So, do you want to show this images in a gridview in another activity? – MustafaKhaled Jun 05 '22 at 04:42
-
Yes sir .. I want to display those images in a gridview – Ashok Poojari Jun 06 '22 at 09:01