Google has deprecated HttpClientChoose an HTTP
ClientMost network-connected Android apps use HTTP to send and receive data.
Android includes two HTTP ...
分类:
其他好文 时间:
2014-05-27 01:12:43
阅读次数:
343
问题:android:editable is deprecated: Use an to make
it editable意思:Android的:编辑是反对:使用EditText>对其编辑 分析:关于EditText控件的read-only问题,即:
无法通过UI更改其中的内容, 但可以选定部分内容...
分类:
移动开发 时间:
2014-05-24 07:12:25
阅读次数:
375
注:阅读本文,需要阅读本系列的之前文章代码生成器下载地址(文章开头处)接下来我们建立数据库的表和各层的代码我们只需要两张表,文章列表(MIS_Article)和类别表(MIS_Article_Category)USE
[AppDB]GO/****** Object: Table [dbo].[MI....
分类:
Web程序 时间:
2014-05-24 06:33:31
阅读次数:
546
配合log4net使用,用来接收调试信息。因此,此客户端只管通过TCP接收字符串数据,然后显示在界面上。接收TCP数据try
{ Socket s = new Socket("192.168.1.5", 8240); InputStream inputStream =
s.getInputStrea...
分类:
移动开发 时间:
2014-05-19 18:49:39
阅读次数:
388
#ifndef __APP_WEBSOCKET_FRAME_H__
#define __APP_WEBSOCKET_FRAME_H__
#include "memory.hpp"
class buffer;
struct websocket_frame
{
websocket_frame();
~websocket_frame();
static const unsigned int f...
分类:
Web程序 时间:
2014-05-18 09:37:29
阅读次数:
332
【题目】
Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm should use only constant space. You may not modify the values in the list, only nodes it...
分类:
其他好文 时间:
2014-05-18 08:37:57
阅读次数:
370
现在我们来分析一下CAN总线的接收数据流程,对于网络设备,数据接收大体上采用中断+NAPI机制进行数据的接收。同样,我们现在的CAN模块也是采用同样的方式进行数据的接收。由于我们只针对CAN总线接收数据这条主线进行分析。因些,会忽略一些针对CAN协议的设置及初始化等相关代码。
在初始化CAN设备时,我们需要给CAN设备分配NAPI功能。我们通过netif_napi_add()函数将CAN设备添加到NAPI机制列表中。...
分类:
其他好文 时间:
2014-05-18 06:13:15
阅读次数:
317
web socket rfc6455 握手。。...
分类:
编程语言 时间:
2014-05-18 05:56:48
阅读次数:
255