把遇到的问题列出来,如果有解决方案的,偶也会写下来,如果大家有更好解决方法的,欢迎留言噢
phonegap 2.9无法触发deviceready事件
亲们可以看下控制台有木有报错,如果有提示cordova_plugins.json 404 (Not Found) ,就在www目录下新建个空文件,命名为cordova_plugins.json就好了,cordova初始化...
分类:
移动开发 时间:
2014-07-09 12:55:47
阅读次数:
302
最近工作中,发现了一个bug,是和ListView Adapter有关的。产生了FC,描述信息大约是
"The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a b...
分类:
其他好文 时间:
2014-07-08 20:09:41
阅读次数:
199
Ruby has its own style to define the abstract methods in its class....
分类:
其他好文 时间:
2014-07-08 19:45:49
阅读次数:
145
Robot Motion
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 10267
Accepted: 5001
Description
A robot has been programmed to follow the instructions ...
分类:
其他好文 时间:
2014-07-08 19:13:43
阅读次数:
203
1、错误描述
java.lang.IllegalArgumentException:Can not find a java.io.InputStream with the name [inputStream] in the invocation stack.
Check the tag specified for this action
2、错误原因
3、解决办法...
分类:
其他好文 时间:
2014-07-08 18:33:04
阅读次数:
237
1.创建一个事物管理对象,该对象将连接对象绑定到当前线程
{CSDN:CODE:419047}
2.dao层的代码示例
{CSDN:CODE:419052}
3.biz层处理数据库的事务
{CSDN:CODE:419061}...
分类:
其他好文 时间:
2014-07-08 18:16:45
阅读次数:
251
Singleton is one design pattern in the software engineering. Ruby has its own special feature to declare singleton class...
分类:
其他好文 时间:
2014-07-08 18:05:25
阅读次数:
213
《Think in java·第 6 章类再生》
读TIJ -1 对象入门 中已经就代码复用性吐槽了。继承关系在结果上(不是为了代码复用而设计继承关系)为代码复用提供了新的途径。
本章看其目录就比较杂,程序员的内聚思想去哪儿了?合成复用优先——合成、继承,为什么实现继承是不好的……
6.1 合成的语法
解释了一个例程,没有什么好说的。has_a关系。
6.2 继承的语法
【You ca...
分类:
其他好文 时间:
2014-07-08 18:01:33
阅读次数:
198
如果在函数内容抛出该异常,函数上可以不用声明,调用者可以不用进行处理,编译一样通过(当然,也可以声明和处理)。
之所以不用在函数声明,是因为不需要让调用者进行处理。
当该异常发生时,希望程序停止。因为在运行时,出现了无法继续运算的情况,希望停止程序后,对代码进行修正。
自定义异常时,如果该异常的发生,无法再继续进行运算,
就让自定义异常继承RuntimeException....
分类:
其他好文 时间:
2014-07-08 14:15:56
阅读次数:
150
UITextView in iOS7 has been really weird. As you type and are entering the last line of your UITextView, the scroll view doesn't scroll to the bottom like it should and it causes the text to be "clipp...
分类:
移动开发 时间:
2014-07-08 11:14:15
阅读次数:
225