SMSManager短信管理器实现短信群发 ContactsContract AlertDialog PendingIntent ...
分类:
其他好文 时间:
2016-06-22 21:44:53
阅读次数:
210
SMSManager短信管理器发送短信 PendingIntent ...
分类:
其他好文 时间:
2016-06-22 20:36:12
阅读次数:
192
本案例知识是:后台执行定时任务。
Alarm机制:
一、创建LongRunningService类
package com.example.servicebestpractice;
import java.util.Date;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android...
分类:
移动开发 时间:
2016-06-21 07:53:45
阅读次数:
179
Android通知Notification详解
Notification的使用大体步骤
Notification简介
PendingIntent简介
使用RemoteViews自定义Notification
更新与移除通知
设定提示响应
附录
Notification的使用大体步骤:1、 获取状态通知栏管理
2、 实例化通知栏构造器
3、 设置NotificationCompat.Buil...
分类:
移动开发 时间:
2016-06-21 06:51:57
阅读次数:
284
什么是 Notification Notification 是一种具有全局效果的通知,它会展现在屏幕的顶端,首先会表现行为一个图标,当用户向下滑动的时候,会展示出通知的具体内容。 因为 Android 的快速发展,随着 android 版本的快速升级,导致了一些兼容性问题。对于 Notificati... ...
分类:
其他好文 时间:
2016-06-18 18:19:36
阅读次数:
150
在192.168.1.10和192.168.1.20分别安装:#yum–yinstallkeepalived192.168.1.10的配置文件内容:#vimkeepalived.conf!ConfigurationFileforkeepalivedglobal_defs{notification_email{root@localhost}notification_email_fromkeepalived@localhostsmtp_server127.0.0.1smtp_co..
分类:
其他好文 时间:
2016-06-14 16:17:54
阅读次数:
218
Keepalived的全局配置详解Keepalived的配置文件都是以块(block)的形式组织的,每个块的内容都包含在{}中,以“#”和“!”开头的行都是注释。全局配置就是对整个Keepalived都生效的配置!ConfigurationFileforkeepalivedglobal_defs{notification_email{aaa@gmail.combbb@163.c..
分类:
其他好文 时间:
2016-06-12 23:46:12
阅读次数:
566
Notification是智能手机应用编程中 非常常用的一种传递信息的机制,而且可以非常好的节省资源,不用消耗资源来不停地检查信息状态(Pooling),在iOS下应用分为两种不同的 Notification种类,本地和远程。本地的Notification由iOS下NotificationManag ...
分类:
移动开发 时间:
2016-06-12 15:09:37
阅读次数:
208
epoll - I/O event notification facility在linux的网络编程中,很长的时间都在使用select来做事件触发。在linux新的内核中,有了一种替换它的机制,就是epoll。相比于select,epoll最大的好处在于它不会随着监听fd数目的增长而降低效率。因为在 ...
分类:
其他好文 时间:
2016-06-11 01:59:12
阅读次数:
262
转自:http://www.cnblogs.com/xinus/archive/2013/01/22/ios-keybord-notification.html 注册监听键盘事件的通知 [[NSNotificationCenter defaultCenter] addObserver:self se ...
分类:
移动开发 时间:
2016-06-07 23:57:23
阅读次数:
282