Window --> Preferences --> General -->
Appearance --> Colors and Fonts --> Basic --> Text Font --> Change
分类:
系统相关 时间:
2014-05-05 23:44:47
阅读次数:
457
在2dx3.0中xml解析已经不用自己找库了,已经为我们集成好了。
text.xml
2012050808
crystal
T74
T74
2012050809
goodmao
T77
添加头文件:.h
#include "cocos-ext.h"
#include "tinyxml...
分类:
其他好文 时间:
2014-05-05 13:13:56
阅读次数:
229
如何使用html网页和本地app进行传递数据呢?经过研究,发现还是有方法的,总结了一下,大致有一下几种方式
一、通过html页面打开Android本地的app
1、首先在编写一个简单的html页面
html>
head>
meta http-equiv="Content-Type" content="text/html; ch...
分类:
移动开发 时间:
2014-05-04 00:31:46
阅读次数:
376
开发过程中发现SSH2的开发模型其实类似于经典的三层模式,在每一层中分别添加了不同的框架,显示层使用的是Struts2进行配置的,业务逻辑层使用的是Spring配置,数据持久层则采用的是Hibernate,开发模式简单易懂,接下来将会分别从三层着手讨论每一层的运行内容。...
分类:
其他好文 时间:
2014-05-04 00:22:56
阅读次数:
448
grails开发项目应该还是比较快的,至少配置没有SSH那么繁琐,节省出来的时间可以用在业务逻辑上。grails在简化的同时依然保留了hibernate、spring的特点例如hql、Criteria等。...
分类:
其他好文 时间:
2014-05-04 00:18:37
阅读次数:
351
一、前言
AOP (Aspect Oriented Programing) - 面向切面编程,它主要用于日志记录、性能分析、安全控制、事务处理、异常处理等方面。
二、实现细节
下面这个例子利用AOP来实现日志记录:
附上一张类的结构图,该例子需要导入dom4j.jar
① 业务逻辑接口
/**
* 业务逻辑类接口
* @a...
分类:
编程语言 时间:
2014-05-03 17:48:34
阅读次数:
317
BeautifulSoup 善于网页数据分析 ,但是 python for android : BeautifulSoup 有 bug ,
text = h4.a.text 只能取得 None,所以我写了function: getText()
来fix this bug.
例如: 抓取CSDN极客头条内容 soup.py
import urllib2, re
from Beau...
分类:
移动开发 时间:
2014-05-03 17:33:08
阅读次数:
427
如果使用hiberante作为dao层,常用的方式是:定义一个dao层接口包(com.dao.service)然后在定义一个dao层接口实现包(com.dao.service.impl),这样定义结构清晰,方便维护和开发工作。如果使用mybatis作为dao层,我们就可以省略到dao实现包,直接将sql实现在xml配置文件中编写,这样维护起来更方便了!
首先将mybatis整合到spring中:...
分类:
其他好文 时间:
2014-05-03 16:31:42
阅读次数:
318
ACM 尼姆博弈 Being a Good Boy in Spring Festival hdu1850...
分类:
编程语言 时间:
2014-05-03 16:25:26
阅读次数:
330
Chef wrote some text on a piece of paper and now he wants to know how many holes are in the text. What is a hole? If you think of the paper as the plane and a letter as a curve on the plane, then each...
分类:
其他好文 时间:
2014-05-03 15:49:18
阅读次数:
412