示例: 1 NotificationManager nm = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE); 2 Notification n = new Notification...
分类:
其他好文 时间:
2015-12-14 10:37:49
阅读次数:
222
public class MainActivity extends Activity { private Button mButton; private NfcAdapter mNFCAdapter = null; private PendingIntent mPendingIntent = nul...
分类:
其他好文 时间:
2015-12-13 20:11:48
阅读次数:
197
本地通知,local notification,用于基于时间行为的通知,比如有关日历或者todo列表的小应用。另外,应用如果在后台执行,iOS允许它在受限的时间内运行,它也会发现本地通知有用。比如,一个应用,在后台运行,向应用的服务器端获取消息,当消息到达时,通过本地通知机制通知用户。本地通知是UI...
分类:
其他好文 时间:
2015-12-10 16:46:15
阅读次数:
194
两种情况第一种情况就是:点击Notification ——>进入secActivity——> back键 ——>退出应用PendingIntent contentIntent = PendingIntent.getActivity(context, 0, intent, PendingIntent....
分类:
移动开发 时间:
2015-12-09 00:12:56
阅读次数:
335
点notification时候 跳转 activity DemoHXSDKHelper.java/** * 自定义通知栏提示内容 * * @return */ @Override protected HXNotificationInfoProvider getNotificationLis...
分类:
其他好文 时间:
2015-12-08 18:03:53
阅读次数:
149
global_defs { notification_email { #指定keepalived在发生切换时需要发送email到的对象,一行一个 sysadmin@fire.loc } notification_email_from Alexandre.Cassen@firewa...
分类:
其他好文 时间:
2015-12-07 22:20:21
阅读次数:
305
epollepoll - I/O event notification facilityepoll is a variant of poll(2) that can be used either as an edge-triggered or a level-triggered interface ...
分类:
其他好文 时间:
2015-12-06 17:27:52
阅读次数:
172
最近开发的cordova应用,要做ios的适配,并且发布版本,但是有一次在发测试版本的时候,突然收到一封邮件警告,原文如下:Missing Push Notification Entitlement- Your app appears to include API used to register ...
分类:
其他好文 时间:
2015-12-05 22:40:41
阅读次数:
652
Odoo calendar 提供了一个提醒功能,它包含邮件通知以及web client弹窗功能 创建日历事件的时候,可以设置提醒器 Meeting [ calendar.event ] Reminder [ calendar.alarm] 包含 2种类型 Email Notification 然后再...
分类:
其他好文 时间:
2015-12-05 15:44:16
阅读次数:
334
1:ios本地通知和远程通知http://wangjun.easymorse.com/?p=14822: 苹果远程通知服务申请激活例图 (外国佬写的.)http://mobiforge.com/developing/story/programming-apple-push-notification-...
分类:
移动开发 时间:
2015-12-03 13:44:48
阅读次数:
461