Notification 学习笔记
来源:互联网 发布:网上名片制作软件 编辑:程序博客网 时间:2024/05/16 07:17
管理本组件 Notification用NotificationManager
构造方法
Notification(Int icon,CharSequence tickerText, long when)
Notification()
Notification(Parcel parcel)
常用的属性:(PendingIntent)contentIntent / deleteIntent、( RemoteViews )contentView 、(int)icon、(CharSequence)tickerText
然后就是他的启动通知方式(默认为DEFAULT_ALL)时 要在AndroidNanifest.xml中添加权限 等其他Api查看)
常用方法:1.describeContents()
2. setLatestEventInfo(Context context,CharSequence contentTitle,CharSequence contentText,PendingIntent contentIntent)
3 .writeToParcel(Parcel parcel, int flags)
4.toString()
代码:
- Notification 学习笔记
- Notification学习笔记
- 自定义Notification 学习笔记
- JMX学习笔记(二)-Notification
- NotificationManager and Notification学习笔记
- android学习笔记35:notification
- iOS Local Notification学习笔记
- iOS Local Notification学习笔记
- iOS Local Notification学习笔记
- iOS Local Notification学习笔记
- JMX学习笔记(二)-Notification
- Android学习笔记 通知Notification
- Android学习笔记(一)之Notification
- Android学习笔记,Notification通知事件
- 【学习笔记】WP7推送通知(Notification)
- ndroid -- NotificationManager and Notification学习笔记
- Android学习笔记——Notification
- Object-C 学习笔记(三十六)--- 通知:Notification
- [c#] set utf-8 encoding
- UIColor self-study
- android中parcelable的作用
- java调用WebService(客户端)
- Thinkpad T430 X230 快捷键一览表
- Notification 学习笔记
- symbian 主线程与子线程通信
- linux下shutdown关机指令
- sqlserver笔记
- java调用WebService(客户端)
- Parallel task in C# 4.0
- MyEclipse 9 在部署和保存文件的时候报错 DeploymentBuilder
- ffmpeg: error while loading shared libraries: libavdevice.so.53
- sql server数据库insert多行数据