如何显示的应用程序图标或窗口小部件数 [英] How do I show counts on the app icon or in widget

查看:119
本文介绍了如何显示的应用程序图标或窗口小部件数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如:我的应用程序有一些消息,我需要告诉用户这个

For example: my app got few messages and I need to inform user about this.

我是否需要做插件?

我读到这<一个href=\"http://stackoverflow.com/questions/3721119/how-do-i-add-a-number-to-the-launcher-icon-like-htc-mail-does\">How做我将号码添加到启动程序图标像HTC邮件那样?,但它看起来像我不能做到这一点。仅适用于HTC。

I read this How do I add a number to the launcher icon like HTC mail Does?, but it looks like I can't do this. Only for HTC.

推荐答案

作为由默认的启动程序不具有此功能启动程序管理。启动图标

Launcher icons as managed by the launcher which the default launcher does not have this functionality.

我会建议使用通知栏然后次级可能插件,但它不会被要求

I would recommend to use the notification bar and then secondary a possible widget but it wouldn't be required.

作为一个说明,确实有此功能的发射器是ADW,但我不相信有它的API,这样他们就这得到通知上显示的应用程序管理器。
ADWNotifier:检查 这里

As a note, a launcher that does have this functionality is ADW but I don't believe there is an API for it so they would manager which notifications get displayed on which applications. ADWNotifier: check here

这篇关于如何显示的应用程序图标或窗口小部件数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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