第一步:申请证书: 第二步:申请app ids,应用名字必须一致。然后再进入进行编辑,使其enable,绿灯。 第三步:申请provisioning profile,生成.mobileprovision,双击该证书才能正确导入手机设备,不能拖。 第四步:创建应用,使其名字一致。 第五步:写代码 - ...
分类:
其他好文 时间:
2016-11-01 14:06:34
阅读次数:
167
环境:K1:192.168.11.26K2:192.168.11.28VIP1:192.168.11.17VIP2:192.168.11.18一、vrrp_script1、K1配置[root@K1keepalived]#catkeepalived.conf#配置内容
!ConfigurationFileforkeepalived
global_defs{
notification_email{
root@localhost
}
notification_email_from..
分类:
其他好文 时间:
2016-10-22 18:34:34
阅读次数:
339
环境:K1:192.168.11.26K2:192.168.11.28R1:192.168.11.21R2:192.168.11.30VIP:192.168.11.99一、K1配置[root@K1~]#cd/etc/keepalived/
[root@K1keepalived]#catkeepalived.conf#查看配置文件
!ConfigurationFileforkeepalived
global_defs{#定义全局信息
notification_em..
分类:
Web程序 时间:
2016-10-22 00:52:26
阅读次数:
340
1.声明一个manager ,再声明一个notification notification的参数: 所以也可以单独设置如 n.icon=R.drawable.xxx n.tickerText="xxx" 2.设置参数flag FLAG_AUTO_CANCEL 该通知能被状态栏的清除按钮给清除掉 FL ...
分类:
其他好文 时间:
2016-10-19 19:35:43
阅读次数:
189
packagecom.android.broadcastreceiver;importandroid.app.Notification;importandroid.app.NotificationManager;importandroid.app.PendingIntent;importandroid.content.BroadcastReceiver;importandroid.content.Context;importandroid.content.Intent;publicclassHelloBroa..
分类:
其他好文 时间:
2016-10-18 23:32:04
阅读次数:
198
之前在项目中使用了Notification,现分享出来: 目前chrome,safari,以及firefox26+支持 详解: http://www.cgner.com/web/js/201408_221.html 也有多个插件支持桌面提醒:http://www.open-open.com/news ...
分类:
其他好文 时间:
2016-10-18 22:28:24
阅读次数:
156
1、登录Jenkins进入以下界面: 2、点击 系统管理 3、点击 系统设置 (下图的系统设置是已经设置好的) 4、这里设置主要设置 Jenkins URL (这里我是测试的所以使用默认的)与 邮件的通知的设置(邮件需要这里必须设置两个地方(Extended E-mail Notification、 ...
分类:
其他好文 时间:
2016-10-16 07:31:54
阅读次数:
122
通知(Notification),当某个应用程序希望向用户发出一些提示信息,而该应用程序又不在前台运行时,就可以借助通知来实现。 发出一条通知后,手机最上方的状态栏中会显示一个通知的图标,下拉状态栏后可以看到通知的详细内容。 《第一行代码》中的Notification的构造方法、setLatestE ...
分类:
移动开发 时间:
2016-10-14 16:34:43
阅读次数:
239
CWnd::OnCommand This method is called by the framework when the user selects an item from a menu, when a child control sends a notification message, o ...
分类:
其他好文 时间:
2016-10-13 13:54:24
阅读次数:
106
iOS开发 适配iOS10 转载自"鸿鹄当高远" 的博客园 2016年9月7日,苹果发布iOS 10。2016年9月14日,全新的操作系统iOS 10将正式上线。 作为开发者,如何适配iOS10呢? 1.Notification(通知) 自从Notification被引入之后,苹果就不断的更新优化, ...
分类:
移动开发 时间:
2016-10-12 08:54:16
阅读次数:
286