How to change an application icon programmatically in Android?

前端 未结 10 2145
闹比i
闹比i 2020-11-21 22:33

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 t

10条回答
  •  醉话见心
    2020-11-21 22:57

    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:

    http://www.cnet.com/8301-19736_1-10278814-251.html

提交回复
热议问题