Android的应用程序图标更改 [英] Android Application Icon Change
问题描述
是否有可能在运行时更改了Android应用程序的图标?我已经通过<读href="http://stackoverflow.com/questions/2718947/changing-the-application-icon-text-dynamically-in-android">Changing在Android的中的应用程序图标文本动态 和<一href="http://stackoverflow.com/questions/1103027/how-can-i-change-an-application-icon-programmatically-in-android">How我可以改变编程方式在Android的应用程序图标?。所有的回答不能。我采用Android 1.6。有什么办法?
Is it possible to change the android application icon at run time? I've read through Changing the application icon text dynamically in Android and How can i change an application icon programmatically in Android?. All answered can't. I use Android 1.6. Is there any way?
推荐答案
两个可能的答案:
1)你不能。由于 CommonsWare ,上述<一href="http://stackoverflow.com/questions/1103027/how-can-i-change-an-application-icon-programmatically-in-android">post:
1) You can't. As CommonsWare said in that post:
您不能更改舱单或 资源中的签名和 - 密封APK, 除了通过软件升级。
You cannot change the manifest or the resource in the signed-and-sealed APK, except through a software upgrade.
2)使用Widget的方式提到<一个href="http://stackoverflow.com/questions/1103027/how-can-i-change-an-application-icon-programmatically-in-android">here.
2) Use the widget approach as mentioned here.
检查:<一href="http://www.cnet.com/8301-19736_1-10278814-251.html">http://www.cnet.com/8301-19736_1-10278814-251.html
这篇关于Android的应用程序图标更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!