uvm_transaction继承自uvm_object,添加了timing和recording接口,该类是uvm_sequence_item的基类。下边将做剖析1.这个类提供了时间戳属性(timestamp properties),通知事件(notification events),和交易记录(t...
分类:
其他好文 时间:
2014-07-27 23:16:10
阅读次数:
558
(注:下面所指的低版本是指2.3及2.3以下版本)1.如何取消掉通知栏上的通知 (1)设置对应的flags,让用户点击既被消除:notification.flags = FLAG_AUTO_CANCEL; (2) 通过手动消除某项或则全部通知mNotificationMgr.cancle(NOTI....
分类:
其他好文 时间:
2014-07-27 22:33:59
阅读次数:
224
PendingIntent详解 http://blog.csdn.net/hudashi/article/details/7060837ppWidget(二) PendingIntent 关于android中PendingIntent.getBroadcase的注册广播 1)什么是PendingIn...
分类:
其他好文 时间:
2014-07-27 21:54:19
阅读次数:
409
上面的程序用到了一个PendingIntent对象,PendingIntent是对Intent的包装,表示即将发生的意图,主要用在:通知Notificatio的发送,短消息SmsManager的发送和警报器AlarmManager的执行等等。一般通过调用PendingIntent的 getActivity(Context,int, Intent, int), getBroadcast(Context, int, Intent,int), getService(Context, int, Intent, in...
分类:
移动开发 时间:
2014-07-27 11:15:42
阅读次数:
213
JPush纠结了5-6个小时,一直报下面的错误,纠结![AndroidUtil] AndroidManifest.xml missing required intent filter for PushReceiver: cn.jpush.android.intent.NOTIFICATION_REC...
分类:
移动开发 时间:
2014-07-26 14:16:04
阅读次数:
517
Notification可以在手机的状态栏发出一则通知,它需要用NotificationManager来管理,实现Notification其实很简单。1.通过getsystemservice方法获得一个Notificationmanager对象NotificationManager notifica...
分类:
移动开发 时间:
2014-07-26 00:07:46
阅读次数:
325
实现了以下iOS页面间传值:1.委托delegate方式;2.通知notification方式;3.block方式;4.UserDefault或者文件方式;5.单例模式方式;6.通过设置属性,实现页面间传值在iOS开发中,我们经常会遇到页面间跳转传值的问题,现归纳总结一下:情况1:A页面跳转到B页面...
分类:
移动开发 时间:
2014-07-26 00:06:56
阅读次数:
322
iOS页面间传值的方式(NSUserDefault/Delegate/NSNotification/Block/单例)实现了以下iOS页面间传值:1.委托delegate方式;2.通知notification方式;3.block方式;4.UserDefault或者文件方式;5.单例模式方式;6.通过...
分类:
移动开发 时间:
2014-07-25 14:06:01
阅读次数:
284
问题:应用总要周期性的执行某项任务,例如检查服务器上的更新或者提醒用户做某些事情。解决方案:用AlarmManager来管理和执行任务。AlarmManager可用于计划未来的单次或重复操作,甚至在应用没有运行时也可以执行任务。AlarmManager通过发出PendingIntent来发出警告触发...
分类:
移动开发 时间:
2014-07-24 22:47:03
阅读次数:
258
本文介绍AndroidPn项目实现推送的使用过程。 在上一篇文章中提到在Android中实现推送方式的解决方案,其中一个比较成熟的解决方案便是使用XMPP协议实现。而AndroidPn项目就是使用XMPP协议实现信息推送的一个开源项目。在这里给大家介绍其使用过程。 Apndroid Push N.....
分类:
移动开发 时间:
2014-07-24 21:54:22
阅读次数:
311