1、 Notification的构建随着android的更新一直在变,因此一般最新的设计方法都可以去参考谷歌的文档。 1、Notification的更新一般不是和activivity控件一样更新,而是重新构建一样的notification,然后用notify(ID,notification)来刷新通 ...
分类:
移动开发 时间:
2016-11-04 20:19:43
阅读次数:
348
(一)简要介绍 1.Delegate(代理、委托) 代理几乎是iOS开发中最常用的传值方式,在项目中的AppDelegate就是使用的这种设计模式,不仅如此,还有很多原生的控件也使用的这种设计模式,比如:UITextFiled,UITableView等等。官方给出的解释如下: Delegation ...
分类:
移动开发 时间:
2016-11-04 13:40:44
阅读次数:
355
文档目录 本节内容: AJAX Notification Message UI Block & Busy Event Bus Logging Other Utility Functions ABP提供了一序列的对象和功能,使javascript开发容易且标准。 此处有一个ABP里api的列表,点击标 ...
分类:
编程语言 时间:
2016-11-01 14:31:12
阅读次数:
284
第一步:申请证书: 第二步:申请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