title: Make a dynamic launcher icon
body: <p>I want to create a launcher icon similar to the native Messaging application in Android. The icon of this app has an image but also have a dynamically changing number(a counter of some sort that corresponds to the number of unread messages). Also this icon it is not an widget, as it's an actual icon that's present in the application drawer.</p>
  
  <p>Can someone explain to me how I can go about to achieve this? I found some solution that includes a widget with the dimensions set to 1x1 but I do not want people to add shortcuts to my app as widget. If possible, I'd want to manipulate the launcher icon in some programmatical way.</p>
  
  <p>Thanks in advance!</p>
  
  <p>Note: 
  There is a question similar to mine asked a long time ago. However, seeing that the Android API has gone through a lot of changes since then, the older answers may or may not be applicable - hence the need for a new question. (<a href="https://stackoverflow.com/questions/1103027/how-to-change-an-application-icon-programmatically-in-android">link</a>)</p>