using UnityEngine;using System.Collections;public class server : MonoBehaviour { //端口號 int port =10000; //聊天信息 string Message = ""; //移...
分类:
移动开发 时间:
2014-08-12 21:22:44
阅读次数:
243
Handler mHandler;mHandler=new Handler(){ public void dispatchMessage(android.os.Message msg) { switch (msg.what) { case 1: Int...
分类:
其他好文 时间:
2014-08-12 18:46:34
阅读次数:
221
在model中定义public function rules(){ return array( array('Name,Email','required'), array('Email','unique','message'=>'{value...
分类:
其他好文 时间:
2014-08-12 18:31:14
阅读次数:
199
1.链接地址:http://poj.org/problem?id=2141http://bailian.openjudge.cn/practice/2141/2.题目:Message DecowdingTime Limit: 1000MSMemory Limit: 65536KTotal Submi...
分类:
其他好文 时间:
2014-08-12 18:17:34
阅读次数:
186
cat ? tail -f?? 日 志 文 件 说 ? ?明?? /var/log/message?系统启动后的信息和错误日志,是Red?Hat?Linux中最常用的日志之一??
/var/log/secure?与安全相关的日志信息??
/var/log/maillog?与邮...
分类:
系统相关 时间:
2014-08-12 17:47:34
阅读次数:
218
cat tail -f 日 志 文 件 说 ? ?明 /var/log/message 系统启动后的信息和错误日志,是Red Hat Linux中最常用的日志之一 /var/log/secure 与安全相关的日志信息 /var/log/maillog 与邮件相关的日志信息 /var/log...
分类:
系统相关 时间:
2014-08-12 14:02:30
阅读次数:
288
try { } catch (Exception ex) { Debug.WriteLine(ex.Message); MessageBox.Show(ex.Message, "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); }
分类:
其他好文 时间:
2014-08-12 10:17:53
阅读次数:
256
public static void showProgress(Context context, String message) { proDialog = new ProgressDialog(context); proDialog.setMessage(message...
分类:
其他好文 时间:
2014-08-12 10:11:13
阅读次数:
188
一.Handle的用例:
1.创建handle实例
new handle();
2.发送信息载体(Message)
sendMessage(msg);
3.处理消息
handleMessage(Message msg){};
二.原理浅析
结合以上的handle调用三部曲,我们将顺藤摸瓜理清Handle、Looper、Message、MessageQueue的逻辑与关系。
...
分类:
移动开发 时间:
2014-08-12 00:51:33
阅读次数:
246
There are n SMTP servers connected by network cables. Each of the m cables connects two computers and has a certain latency measured in milliseconds required to send
an email message. What is the sh...
分类:
其他好文 时间:
2014-08-11 21:25:02
阅读次数:
384