views:

83

answers:

2

Is it possible to update the launcher icon dynamically? Currently it seems that it can only be set statically at build time using the android:icon attribute in the AndroidManifest.xml file. For example, to display a unique icon based on the device's location?

Is this something that can be achieved using aliases? If so, can an alias's launcher icon be enabled/disabled dynamically?

+2  A: 

You should use a home widget for such things.

Soulreaper
A: 

This needs to be initiated by the user though (since it appears that an application cannot add a widget to the home screen - http://groups.google.com/group/android-developers/browse_thread/thread/3e98e918c2bb8580).

Is there another way which allows the application to control the image displayed by the launcher icon without user intervention?

david