can we show badge number on android app icon like iphone? [duplicate]

依然范特西╮ 提交于 2019-12-17 16:19:14

问题


Possible Duplicate:
Is there a way to add a badge to an application icon in Android?

I just wanted to know that can we show the badge number in Android app Icon?

I know that android notifications are different then Iphone but i want to do in my android app.

Is that applicable?

Thanks for your answer.


回答1:


I think we can do it. check this question Badge on Android TabHost. the accepted answers refers to this code https://github.com/jgilfelt/android-viewbadger

Edit i haven't tried yet. check this question. Is there a way to add a badge to an application icon in Android?




回答2:


You can do it only by creating widget instead app icon. Look this question for more info.



来源:https://stackoverflow.com/questions/8937700/can-we-show-badge-number-on-android-app-icon-like-iphone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!