How to change an application icon programmatically in Android, 2016

I, as so many Android programmers before me, would like to change the Icon of my App from the inside. My App would be a simple WiFi Switch App, with an Icon that displays the state. Yes, WiFi is in the Notification Bar. Byte me, I am lazy. Anyway, there is not a simple system in place to do so, so it seems.

I have searched, low and shallow (not longer then an hour). And this is what I came up with:

Question: is there a better / easier way to do so than here in the links? It has been 7 years already!

Upvotes: 0

Views: 1259

Answers (1)

Sub 6 Resources
Sub 6 Resources

Reputation: 1752

The answer from 2013 explains it as it is today. There is still no way to change the launcher icon of an app without using third-party software. I doubt Android will add support for this in the near future, as you can use widgets for this sort of thing already.

Upvotes: 2

Related Questions