1、Activity的生命周期2、Service的生命周期3、Service和Activity在同一个线程吗默认情况下是在同一个主线程中。但可以通过清单中android:process属性配置不同的进程。4、java中的soft reference是个什么东西 如果一个对象只具有软引用,则内存空间....
分类:
移动开发 时间:
2014-11-22 18:39:11
阅读次数:
239
*fold.txt* For Vim version 7.4. 最后修改: 2010年5月 VIM REFERENCE MANUAL by Bram Moolenaar 译者: Zimin,tocer 折叠 *Folding* *folding* *folds*...
分类:
系统相关 时间:
2014-11-22 11:45:25
阅读次数:
303
#include #include #define MAX 1000 //函数原型 void counting_sort(int A[],int length_A,int B[],int k); //测试代码 void main() { int A[]={-3,2...
分类:
编程语言 时间:
2014-11-22 10:32:42
阅读次数:
200
The idea is to create a Ptr type that acts like a reference in Java.And A Garbage Collector (MemMgr) type that acts like a garbage collector in Java.J...
分类:
编程语言 时间:
2014-11-21 23:12:56
阅读次数:
421
本文并不准备介绍全部的oracle函数,当前情势下,俺也还没这个时间,需要学习的东西太多了,要把多数时间花在学习经常能用上的技术方面:),所以如果是准备深入了解所有oracle函数的朋友,还是去关注:Oracle SQL Reference官方文档更靠谱一些。 本文更多将会介绍三思在日常中经常会用到...
分类:
数据库 时间:
2014-11-21 15:59:24
阅读次数:
285
stl::map是个很危险的容器,因为当用[]访问map元素时不是只读,还伴随着写操作:当访问的key值不存在时会自动插入。以下引自:http://www.cplusplus.com/reference/map/map/operator[]/Ifkmatches the key of an elem...
分类:
其他好文 时间:
2014-11-21 12:32:47
阅读次数:
139
url routing mechanismurl name/namespaceWe can name a url pattern in urls.py, and reference this name to generate a url in other places. This ensures n...
分类:
其他好文 时间:
2014-11-21 12:30:07
阅读次数:
169
Please correct me if any omission or errorFrom theInventory Management-> journals-> Item Counting> Countingcan enter the inventory:Linescan create a n...
分类:
其他好文 时间:
2014-11-21 12:06:02
阅读次数:
222
在jquery中可以通过jqueryObj.attr("disabled","disabled")将页面中某个元素置为不可编辑或触发状态,但是在jquery的API reference中并没说明怎么将页面置为disable的元素重新置为可触发或可编辑的。这里发现可以采用三种的变通方法将置为disab...
分类:
Web程序 时间:
2014-11-21 10:33:13
阅读次数:
163
Extjs3.x:
ID:这就是所熟知的Ext.getCmp(“组件ID”),缺点是id重复导致出错。
ref:在EXTJS3中,所有的组件都会有一个ref属性,也就是reference的意思。这种方式是通过对组件的引用而得到组件对象。例如:ref:’mypanel’,但是这种方式的局限性在于,他只能查找不同层级之间的组件。也就是说A[a,b,c] C[d,e,f],这样的...
分类:
Web程序 时间:
2014-11-20 23:43:51
阅读次数:
339