Achal
Achal

Reputation: 61

Changing the application icon text dynamically in Android

I am developing a calendar app, wherein i will using a service to display date in the application icon text itself. For Eg: If date is: 26 Apr 2010, then my application name in the phone menu will also show the same. So I am not understanding how to change the application's icon text dynamically through program.

Upvotes: 5

Views: 3758

Answers (2)

Mart Roosmaa
Mart Roosmaa

Reputation: 953

Even if it were possible somehow, then most home screen/launcher applications cache the icons, so your icon would only be updated when the user restarts the phone.

As suggested in the previous post, widgets are what you should be looking at.

Upvotes: 0

David Webb
David Webb

Reputation: 193696

I'm not aware of a way to change the Application Title in code. I believe it's fixed once your app is installed.

If you want an icon that changes to notify the use of things add an App Widget to your application and users can add this to their Home Screen.

Upvotes: 2

Related Questions