码迷,mamicode.com
首页 > 移动开发 > 详细

android.app.Notification

时间:2014-07-06 18:00:10      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:android   style   blog   color   使用   os   

public Notification(int icon,
                       CharSequence tickerText,
                       long when)

Deprecated. Use Notification.Builder instead.------>使用Notification.Builder()
Constructs a Notification object with the information needed to have a status bar icon without the standard expanded view.

Notification noti = new Notification.Builder(mContext) .setContentTitle("New mail from " + sender.toString()) .setContentText(subject) .setSmallIcon(R.drawable.new_mail) .setLargeIcon(aBitmap) .build();

android.app.Notification,布布扣,bubuko.com

android.app.Notification

标签:android   style   blog   color   使用   os   

原文地址:http://www.cnblogs.com/lyyh-victory/p/3825118.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!