Is it possible to change an application icon directly from the program?
I mean, change icon.png
in the res\drawable
folder.
I would like to let users to change application's icon from the program so next time they would see the previously selected icon in the launcher.
Asked
Active
Viewed 55 times
1

affan ahmad
- 889
- 2
- 9
- 11
-
1I think there is already an answer for this checkout [here](https://stackoverflow.com/questions/1103027/how-to-change-an-application-icon-programmatically-in-android) – Bali Aug 29 '19 at 16:35
1 Answers
1
Assuming you mean changing the icon shown on the home screen, this could easily be done by creating a widget that does exactly this. Here's an article that demonstrate how that can be accomplished for a "new messages" type application similar to iPhone:

Anas Mehar
- 2,739
- 14
- 25