I have a scenario:
Suppose, there are two images: one.png and two.png. User will have to select an image, I have to save image's name or Resource ID in preferences. Later when user will open the app, I will load the image user selected last time.
So my Question is how am I going to save it in preferences? Is saving Resource ID for image correct? Does R.java contents remain same once app is installed? I just don't want to save bitmap anywhere since it is already present in drawables.
Please help me clear my concept. Thanks.