直接来一些基础知识:
基本属性
public
Builder setTicker(CharSequence
tickerText)
设置状态栏开始动画的文字
public
Buil...
分类:
移动开发 时间:
2016-09-09 10:23:03
阅读次数:
2799
你真的了解Android-Notification吗
分类:
移动开发 时间:
2016-08-26 06:42:45
阅读次数:
312
notification简单使用 1.不推荐 , 已不使用 2.系统推荐 3. 自定义notification ...
分类:
移动开发 时间:
2016-07-22 21:17:13
阅读次数:
165
代码中用的自定义常量
public static final int TYPE_Normal = 1;
public static final int TYPE_Progress = 2;
public static final int TYPE_BigText = 3;
public static final int TYPE_Inbox = 4;
publ...
分类:
移动开发 时间:
2016-05-18 18:13:31
阅读次数:
253
代替setLatestEventInfo的方法是用Notification.Builder创建Builder对象,通过该对象设置Notification相关属性。 ...
分类:
移动开发 时间:
2016-05-15 12:27:05
阅读次数:
717
转自:http://www.itnose.net/detail/6169442.html Notifications in Android 4.4 and Lower notification是很重要的部分,它与service,BroadcastReceiver,Intent等密切相关,很好地使用n ...
分类:
移动开发 时间:
2016-05-09 18:28:56
阅读次数:
249
发送通知可分为3步: 1、获取NotificationManager: 2、创建Notification: 3、NotificationManager发送: 发送通知时的声音、振动和呼吸灯控制: 在不进行设置的情况下,没有任何提示效果,为了提醒用户,设置提示效果很有必要。 通常我们会使用系统默认的效 ...
分类:
移动开发 时间:
2016-05-08 15:15:40
阅读次数:
240
本文总结一下开发中使用的Notification的常见样式
Demo下载地址
demo里有两首歌和打包后的apk,所以比较大,如果网不好下载请耐心!...
分类:
移动开发 时间:
2016-04-29 18:46:27
阅读次数:
369
本文总结一下开发中使用的Notification的常见样式
Demo下载地址
demo里有两首歌和打包后的apk,所以比较大,如果网不好下载请耐心!...
分类:
移动开发 时间:
2016-04-24 11:15:35
阅读次数:
218
通知栏,对话框,Toast是我们接触的三个提示框,通知栏是在系统的应用com.adnroid.systemui当中的 接触的几个Manger,getSystemService()方法得到的,参数: ACTIVITY_SERVICE,LAYOUT_INFLATER_SERVIC,TELEPHONY_S ...
分类:
移动开发 时间:
2016-04-04 11:51:18
阅读次数:
417