Android下,对于耗时的操作要放到子线程中,要不然会残生ANR,本次我们就来学习一下Android多线程更新UI的方式。 首先我们来认识一下anr: anr:application not reponse:应用程序无响应 主线程:UI线程 anr产生的原因:主线程需要做很多重要的事情...
分类:
移动开发 时间:
2014-09-13 10:36:54
阅读次数:
267
在MIME增加一个Json类型,在MIME增加一个配置如:添加---> 文件扩展名为 .JSON ,MIME类型为text/json(也有将application/x-javascript) 然后再在应用程序映射增加一个脚本映射请求路径为:*.JSON,可执行文件为C:/Windows/System...
分类:
Web程序 时间:
2014-09-13 10:35:54
阅读次数:
244
Spinner 类图android.widget 类 Spinnerjava.lang.Object android.view.View android.view.ViewGroup android.widget.AdapterView and...
分类:
移动开发 时间:
2014-09-13 10:34:34
阅读次数:
253
悬垂指针:1:提出的原因:请看下面的代码片段:[cpp]view plaincopyprint?int*p=NULL;voidmain(){inti=10;p=&i;cout#include#include#includeusingnamespacestd;intmain(void){char*p=...
分类:
其他好文 时间:
2014-09-13 10:31:05
阅读次数:
229
需要看的文档http://www.3gpp.org/ftp/Specs/archive/26_series/3GPP TS 26.2333GPP TS 26.2433GPP TS 26.244luxh找到的一个好东西http://isotc.iso.org/livelink/livelink/fe....
分类:
其他好文 时间:
2014-09-13 10:30:55
阅读次数:
828
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without an...
分类:
其他好文 时间:
2014-09-13 09:27:24
阅读次数:
202
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.
If such arrangement is not possible, it must rearrange it as the lowest possible...
分类:
其他好文 时间:
2014-09-13 09:26:54
阅读次数:
160
Flyer
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1632 Accepted Submission(s): 591
Problem Description
The new semester begi...
分类:
其他好文 时间:
2014-09-13 09:25:14
阅读次数:
209
Cut the Cake
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 885 Accepted Submission(s): 432
Problem Description
MMM got a big b...
分类:
其他好文 时间:
2014-09-13 09:25:04
阅读次数:
250