How Can Change an Application icon programmaticall

2019-04-16 16:21发布

I want to change an application icon directly from the program and don't want to create shortcut and update it. Some calender app changes icon everyday without creating shortcut. I read that can create activity-alias element for each of my icons in manifest. It's work for me but if I want to have 30 icons like a calender then I should have 30 activity-alias element in manifest and I do't think it's a correct way. I also read that this way works differently across devices. Can anyone help me?

1条回答
欢心
2楼-- · 2019-04-16 17:22

You can do this in smart launcher.

there is an option in smart launcher to change icon of an app without creation a shortcut. if you are okay with the smart launcher then this is the way. I don't know any other way to do that.

查看更多
登录 后发表回答