动态地更改应用程序图标,文字的Andr​​oid [英] Changing the application icon text dynamically in Android

查看:130
本文介绍了动态地更改应用程序图标,文字的Andr​​oid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个日历应用程序,其中我将用服务来显示日期中的应用程序图标文本本身。对于例如:如果日期是:2010年4月26日,然后在手机菜单我的应用程序的名称也将显示相同。 所以,我不理解如何动态地通过程序改变应用程序的图标文本。

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.

推荐答案

我不知道的一种方式来改变code中的应用程序标题。我相信这是一次你的应用程序被安装固定。

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.

这篇关于动态地更改应用程序图标,文字的Andr​​oid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆