摘要:
(1)、使用系统定义的Notification以下是使用示例代码://创建一个NotificationManager的引用String ns = Context.NOTIFICATION_SERVICE;NotificationManager mNotificationManager = (NotificationManager)getSystemService(ns);//定义Notification的各种属性int icon = R.drawable.icon; //通知图标CharSequence tickerText = "Hello"; //状态栏显示的通知文本提 阅读全文
posted @ 2011-01-21 10:55
张兴业
阅读(316)
评论(0)
推荐(0)

浙公网安备 33010602011771号