RemoteView会用在两个地方:一个是在AppWidget,另外一个是在Notification.
RemoteView是用来描述一个垮进程显示的view
1,AppWidget---RemoteView
AppWidgetProvider是一个BrocaseReceiver,只是接受到Enable, Update,disale,delete这些message,而真正显示...
分类:
其他好文 时间:
2014-09-29 17:22:11
阅读次数:
168
1、下载nrpe2.15wgethttp://cznic.dl.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.15/nrpe-2.15.tar.gz2、yuminstallopensslopenssl-develcdnrpe-2.15./configure--enable-ssl--with-nagios-user=nagios--with-nagios-group=nagcmd--with-nrpe-user=nagios--with-nrpe-gro..
分类:
移动开发 时间:
2014-09-28 18:21:37
阅读次数:
193
共享内存主要用于进程间通信php中的共享内存有两套扩展可以实现1、shmop 编译时需要开启--enable-shmop 参数实例: $shm_key = ftok(__FILE__, 't');/** 开辟一块共享内存 int $key , string $flags , int $mode ,....
分类:
Web程序 时间:
2014-09-28 02:16:10
阅读次数:
200
Enable Notepad++ 666 support both SCLEX_FORTRAN and SCLEX_F77http://blog.csdn.net/gocad/article/details/32943395You can DIY.I have put the source code...
分类:
其他好文 时间:
2014-09-27 11:16:09
阅读次数:
191
yuminstalllibxml2-developenssl-develbzip2-develcd/usr/local/srctarzxvfphp-5.4.13.tar.gzcd/usr/local/src/php-5.4.13./configure--prefix=/usr/local/php--enable-fpm--with-openssl--enable-mbstring--enable-sysvshm--with-config-file-path=/etc--with-config-file-sca..
分类:
其他好文 时间:
2014-09-27 10:28:19
阅读次数:
208
七(七):严格模式// 严格模式应当仅限在函数内部使用,千万不要在全局使用//不好的写法:全局使用严格模式"user strict";function doSomething() { //code}//好的写法function doSomething() { "user strict"; //cod...
分类:
编程语言 时间:
2014-09-26 23:06:28
阅读次数:
306
sudo ufw status 查看防火墙状态
sudo ufw disable 关闭防火墙
sudo ufw enable 启动防火墙
sudo ufw allow port 打开某个端口
sudo ufw delete allow port 关闭某个端口...
分类:
其他好文 时间:
2014-09-26 20:59:28
阅读次数:
137
cat /etc/vsftpd/vsftpd.confanonymous_enable=NOlocal_enable=YESwrite_enable=NOlocal_umask=022dirmessage_enable=YESxferlog_enable=YES #开户ftp日志记录,并指...
分类:
其他好文 时间:
2014-09-26 13:11:58
阅读次数:
266
#include "stm32f10x.h"
GPIO_InitTypeDef GPIO_InitStructure;//声明GPIO_InitStructure
void LED_Init() {
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA,ENABLE);//开GPIOA时钟
GPIO_InitStructure.GPIO_Pi...
分类:
其他好文 时间:
2014-09-26 00:18:08
阅读次数:
259