I am trying to put a dynamic value in the launcher icon of android, as number of messages will be displayed in the message icon. As the icon is static and initialised before the application starts, Is there any way to achieve this??
Asked
Active
Viewed 5,864 times
2
-
isn't it simpler to use [push notifications](http://urbanairship.com/products/push-notifications/)? – thepoosh May 02 '12 at 08:59
-
http://stackoverflow.com/questions/1103027/how-to-change-an-application-icon-programmatically-in-android – Ika May 02 '12 at 09:05
-
I am using that as well but i am programming for a samsung tablet which has huge icons and its messging application does the same, so was trying to do it for my application. – Anchal May 02 '12 at 09:19
4 Answers
1
For Android Launcher Icon you can't. It is impossible. (Or by Making your own launcher) The only one thing is you have to make a Android-Widget for this purpose. Which looks like a application icon. But it will act as a widget.

Community
- 1
- 1

user370305
- 108,599
- 23
- 164
- 151
1
simple answer is you can't do it also this question says the same. But there may be advance tricky methods/ways that I'm not aware of.
But you may try and develop widgets that changes dynamically.
0
You have to design your icon as a selector instead of drawable. Have a look at this.

Community
- 1
- 1

Seshu Vinay
- 13,560
- 9
- 60
- 109
0
You cant update because its related to manifest.xml stuff only possible with software upgrade.

Bhaskar Reddy
- 480
- 5
- 13