- 博客(5)
- 收藏
- 关注
原创 Android AsyncTask for Long Running Operations
Quoting the documentation for AsyncTask found here, it saysAsyncTasks should ideally be used for short operations (a few seconds at the most.) If you need to keep threads running for long period...
2013-05-27 12:44:08 93
tcp 长连接和心跳
http://www.cnblogs.com/diyunpeng/archive/2011/07/21/2112380.html http://blog.csdn.net/channels_net/article/details/4146225 http://www.felix021.com/blog/read.php?2076 http://www.tldp.o...
2013-05-22 22:06:07 81
代码中判断是否是root过的手机
public boolean isRooted(Context context) { File sufilebin = new File("/data/data/root"); try { sufilebin.createNewFile(); if (sufilebin.exists()) { ...
2013-05-20 13:05:38 97
原创 TCP连接建立过程中为什么需要“三次握手”
传输控制协议(Transmission Control Protocol, TCP)是一种面向连接的、可靠的、基于字节流的运输层(Transport layer)通信协议。是专门为了在不可靠的互联网络上提供一个可靠的端到端字节流而设计的。互联网络与单个网络不同,因为互联网络的不同部分可能有着截然不同的拓扑、带宽、延迟、分组大小和其他参数。TCP的设计目标是能够动态的适应互联网络的这些特性,而且...
2013-05-19 15:55:08 148
原创 shape of my heart
He deals the cards as a meditationAnd those he plays never suspectHe doesn't play for the money he winsHe doesn't play for respectHe deals the cards to find the answerThe sacred geometery of chanceThe...
2013-05-05 23:31:04 94
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人