- - 想做特效。 我写的合并方法是调用 display 重绘精灵的图片,使用CCActionInterval 后,我打算把重构精灵延时。
然后就乱了。。。动作线程还没执行玩,精灵就销毁了什么的。还有定时器还没执行就又调用定时器什么。
CCScheduler#scheduleSelector. Selector already scheduled...这之类的错误。
...
分类:
其他好文 时间:
2014-09-27 01:19:09
阅读次数:
165
If you accidentally added some files which should have been ignored, how do you get them out of version control without losing them? Maybe you have yo...
分类:
其他好文 时间:
2014-09-26 18:36:28
阅读次数:
141
今天在给Echarts折线图中的数据点增加点击事件的时候发现...
分类:
其他好文 时间:
2014-09-26 14:49:28
阅读次数:
288
情形:两个表,cms_mode是主表,cms_model_field是子表,cms_model_field的model_id字段关联到cms_model的主键。## Source for table cms_model#DROP TABLE IF EXISTS `cms_model`;CREATE ...
分类:
系统相关 时间:
2014-09-26 10:05:59
阅读次数:
237
很简单,通过调用系统的intent,我们可以打开各种文件,不熟悉的朋友可以了解下action、datatype、uri的相关知识。通用方法如下:public static Intent openFile(String filePath){
File file = new File(filePath);
if(!file.exists()) return null;
/* 取得扩展名...
分类:
移动开发 时间:
2014-09-26 00:47:18
阅读次数:
306
1. 先讨论 in 与 not in中存在NULL的情况, sql语句如下: 1 select 1 result1 from dual where 1 not in (2, 3); 2 3 4 select 1 result2 from dual where 1 not in (2, 3, nu.....
分类:
其他好文 时间:
2014-09-25 17:16:39
阅读次数:
222
用ContentProvider查询,有时候不太灵。。就像下面的代码,数据库中存在该数据,但是查不出来。原因可能是该字段没有声明类型。。
如下:
private final static String SQL_CREATE_TABLE_INSTALLED =
"CREATE TABLE if not exists " + TABLE_INSTALLED + " ( "...
分类:
数据库 时间:
2014-09-25 16:06:59
阅读次数:
205
1. 先讨论 in 与 not in中存在NULL的情况, sql语句如下: 1 select 1 result1 from dual where 1 not in (2, 3); 2 3 4 select 1 result2 from dual where 1 not in (2, 3, nu.....
分类:
其他好文 时间:
2014-09-25 13:01:08
阅读次数:
228
实际工作中,我们通常会有这样的业务场景,需要把一大串字符串,用某个特定的字符串分割出来,生成一张表。一下方法就很好的解决了这个问题。 1 IF EXISTS(SELECT 1 FROM SYSOBJECTS WHERE ID=OBJECT_ID('fn_Split') AND XTYPE='FN')...
分类:
其他好文 时间:
2014-09-24 13:25:06
阅读次数:
185
SQL中EXISTS怎么用 1 2 3 4 分步阅读EXISTS用于检查子查询是否至少会返回一行数据,该子查询实际上并不返回任何数据,而是返回值True或False方法/步骤1EXISTS用于检查子查询是否至少会返回一行数据,该子查询实际上并不返回任何数据,而是返回值True或FalseEXI...
分类:
数据库 时间:
2014-09-24 10:28:56
阅读次数:
221