使用:
Bundle bundle = new Bundle();
Message message = dummyHandler.obtainMessage(EVENT_SET_LOCK_CLICK);
message.arg1 = 101;
bundle.putString("lockList", lockList);
message.setData(bundle);
dummyH...
分类:
移动开发 时间:
2014-09-16 19:01:50
阅读次数:
222
由于这个开源项目对我这种中间件菜鸟很有帮助,因此,我将官方的说明文档翻译如下:Introduction In this article, I will introduce a new and independentOpen Source Message Queue systemthat is en....
分类:
Web程序 时间:
2014-09-16 12:32:01
阅读次数:
186
?可在独立存储中使用ApplicationSettings对象?在独立存储中存储键/值对的Dictionary方式存储?存储的对象将永久保存在应用设置中保存数据1 void saveString(string message, string name) 2 { 3 IsolatedSto...
分类:
其他好文 时间:
2014-09-16 12:25:00
阅读次数:
204
windows 随机矩形绘制
代码如下
#include
void DrawRect (HWND hwnd);
int cxClient, cyClient;
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
int WINAPI WinMain(HINSTANCE hInstan...
简单运行图:名词解析: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