很多时候我们开发的软件需要向用户提供软件参数设置功能,例如我们常用的QQ,用户可以设置是否允许陌生人添加自己为好友。对于软件配置参数的保存,如果是window软件通常我们会采用ini文件进行保存,如果是j2se应用,我们会采用properties属性文件或者xml进行保存。如果是Android应用,我们最适合采用什么方式保存软件配置参数呢?Android平台给我们提供了一个SharedPrefer...
分类:
移动开发 时间:
2014-08-07 19:06:10
阅读次数:
342
主要是在建模时我们对表、列增加了些说明注释,而Sql2005之后系统表sysproperties已废弃删除而改用sys.extended_properties所致。1、修改Table TableComment 部分 菜单Database -> Edit Current DBMS 窗体 General...
分类:
数据库 时间:
2014-08-07 17:58:10
阅读次数:
270
AtomicBoolean可以让一个线程等待另一个线程完成任务后再执行:
A boolean value that may be updated atomically. See the java.util.concurrent.atomic package specification for description of the properties of atomic variables. A...
分类:
编程语言 时间:
2014-08-07 15:41:40
阅读次数:
232
自定义了一个 PowerConfig命名空间 PowerSettings.Settings然后一个exe,引用了该dll,在app.cinfig里增加了配置项1.1.1.1但是执行的时候,却提示配置系统无法初始化,猜测是该配置项有问题,但是不子回到什么原因导致的搜索了下,才发现,在 蓝色部分,为.....
分类:
其他好文 时间:
2014-08-07 12:23:09
阅读次数:
320
关键代码: public static void SetWatermark(this TextEdit textEdit, string watermark) { textEdit.Properties.NullValuePromptShowForE...
分类:
其他好文 时间:
2014-08-07 12:04:19
阅读次数:
348
题目:Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You ha....
分类:
编程语言 时间:
2014-08-07 05:11:48
阅读次数:
258
Fitnesse最新版20140630默认启动后,网页风格与 fitnesse.org 的Bootstrap风格完全不一致。
需要配置plugins.properties中的Theme=bootstrap,才能启动Bootstrap风格的Fitnesse。
分类:
其他好文 时间:
2014-08-06 22:37:12
阅读次数:
315
Hibernate操作步骤 1.新建项目2.加jar包3.写XML配置文件hibernate.cfg.xml4.写log4j.properties日志文件5.在MySql数据库中建student表6.建Student实体类(先建表后建类)7.写XML映射文件Student.hbm.xml,或者Ann...
分类:
系统相关 时间:
2014-08-06 22:13:42
阅读次数:
381
编辑距离(Edit Distance),又称Levenshtein距离,是指两个字串之间,由一个转成另一个所需的最少编辑操作次数。许可的编辑操作包括将一个字符替换成另一个字符,插入一个字符,删除一个字符。例如将kitten一字转成sitting:sitten (k→s)sittin (e→i)sit...
分类:
其他好文 时间:
2014-08-06 22:11:12
阅读次数:
207
Error reading source.properties https://github.com/jayway/maven-android-plugin/blob/master/src/main/java/com/jayway/maven/plugins/android/AndroidSdk.java http://blog.csdn.net/wangjia55/article/deta...
分类:
移动开发 时间:
2014-08-06 19:34:02
阅读次数:
263