简单运行图:名词解析:Message(消息):定义了一个包含描述以及随意的数据对象可以被发送到Hanlder的消息,获得消息的最好方法是Message.obtain或者Handler.obtainMessage方法;MessageQueue(消息队列):是looper中的一个消息队列;Looper....
分类:
移动开发 时间:
2014-09-16 00:02:49
阅读次数:
413
(process:6471): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security...
分类:
其他好文 时间:
2014-09-15 22:55:54
阅读次数:
222
题目以下思路参考自discuss:http://poj.org/showmessage?message_id=176353/*我的思路:1.将长串数分成一个个部分,每个部分是从1到x的无重复的数字序列2.每个序列比前一个序列多的位数是他的最后一个数的位数,如12345678910比123456789...
分类:
其他好文 时间:
2014-09-15 21:01:49
阅读次数:
186
一:jms介绍jms说白了就是java message service,是J2EE规范的一部分,跟jdbc差不多,sun只提供了接口,由各个厂商(provider)来进行具体的实现,然后使用者使用他们的jar包进行开发使用即可。另外在jms的API中,jms传递消息有两种方式,一种是点对点的Queu...
分类:
其他好文 时间:
2014-09-15 17:39:39
阅读次数:
262
1.修改CodeIgniter/index.php,添加如下:define('ROOTDIR',dirname(__FILE__).'/');2.修改CodeIgniter/application/config/config.php,如下:$config['log_threshold'] = 1;$...
分类:
其他好文 时间:
2014-09-15 15:49:49
阅读次数:
208
protected override void WndProc(ref Message m) { const int WM_SYSCOMMAND = 0x0112; const int SC_CLOSE = 0xF060; if (m.Msg == WM_SYSCOMMAND...
分类:
其他好文 时间:
2014-09-14 23:35:17
阅读次数:
264
1.定义proto文件:
User.proto
package netty;
option java_package="myprotobuf";
option java_outer_classname="UserProto";
message User{
requir...
分类:
其他好文 时间:
2014-09-14 23:34:37
阅读次数:
344
常用的进程间通信方式有这几种A.传统的进程间通信方式无名管道(pipe)、有名管道(fifo)和信号(signal)B.System v IPC对象共享内存(share memory)、消息队列(message queue)和信号灯(semaphore)C.BSD套接字(socket)一、无名管道(...
分类:
其他好文 时间:
2014-09-14 17:52:37
阅读次数:
363
'release' is unavailable: not available in automatic reference counting modeARC forbids explicit message send of'release''release' is unavailable: not...
分类:
其他好文 时间:
2014-09-13 20:07:45
阅读次数:
140
When I try runningCode::Blocks, I get the following error message:Another program instance is already running. Code::Blocks is currently configured to...
分类:
其他好文 时间:
2014-09-13 10:36:44
阅读次数:
965