2012年12月12日
摘要: 以后转移到http://blog.csdn.net/cruisoring 阅读全文
posted @ 2012-12-12 09:42 Cruisoring 阅读(97) 评论(0) 推荐(0) 编辑
  2012年12月5日
摘要: 可以按照以下步骤实现:搜索com.cb.eclipse.folding_1.0.7.jar下载,或者直接从这里下载http://files.cnblogs.com/cruisoring/com.cb.eclipse.folding_1.0.7.zip将其中的com.cb.eclipse.folding_1.0.7.jar文件解压缩到Eclipse/plugins目录。选择 ,选中 "Enable folding" option,在 "Select folding to use:" 选项中选择 "Coffee Bytes Java Folding 阅读全文
posted @ 2012-12-05 13:07 Cruisoring 阅读(2527) 评论(0) 推荐(1) 编辑
  2012年11月26日
摘要: 来自:http://blog.csdn.net/zhangfei2018/article/details/7768227http://www.ibm.com/developerworks/cn/xml/x-androidstorage/index.htmlhttp://www.cnblogs.com/hanyonglu/archive/2012/03/01/2374894.htmlhttp://www.oschina.net/question/54100_32905http://www.cnblogs.com/feisky/archive/2011/01/05/1926177.htmlhttp 阅读全文
posted @ 2012-11-26 13:09 Cruisoring 阅读(153) 评论(0) 推荐(0) 编辑
  2012年9月19日
摘要: 机器重做以后,重新配置Android开发环境的过程中遇到了很多问题和麻烦,不由得感慨免费的东西陷阱多多,也在这里做个总结加备忘。我初始安装的软件包如下:Android SDK: installer_r20.0.3-windows安装在c:\android-sdk, 对应系统常量”ANDROID_HOME“JAVA: 1.7.0_07: 安装在C:\Java\jdk1_7,对应系统常量“JAVA_HOME%Eclipse JUNO:安装在"C:\eclipse"过程中遇到过如下问题:JAVA环境配置不对,导致Android SDK一闪而过Android项目提示无法解析诸多的J 阅读全文
posted @ 2012-09-19 13:20 Cruisoring 阅读(2798) 评论(0) 推荐(0) 编辑
  2011年11月21日
摘要: 今天在CodeProject首次发表文章:http://www.codeproject.com/KB/cs/NumberToFromWord.aspx,这里特别对中文数字转换做一说明。作为一个可扩展的工具,它能够实现数字转中文,以及中文转数字。大体思路是为每个数字建立建立字典Dictionary<int, List<string>> NumberNameDict,即 newDictionary<int,List<string>>{{10,newList<string>{"十","拾"}},{20 阅读全文
posted @ 2011-11-21 13:26 Cruisoring 阅读(7287) 评论(0) 推荐(0) 编辑
  2009年11月9日
摘要: 还是比较简单的功能,在data的byte数组搜索pattern出现的位置。当然这里可以对该功能进行扩展,例如实现忽略大小写,并防止异常情况等等。 public static List<int> indexOf(byte[] data, byte[] pattern) { List<int> matchedPos = new List<int>(); if (da... 阅读全文
posted @ 2009-11-09 17:35 Cruisoring 阅读(2497) 评论(0) 推荐(0) 编辑
  2009年11月4日
摘要: 最近编程时遇到一个相等运算符重载的问题,想来该是C#的一个陷阱。我定义的Coordinate类原先是这样重载相等运算符的:publice class Coordinates{.... public override bool Equals(object obj) { if (!(obj is Coordinates)) return false; Coordinates other = (Coor... 阅读全文
posted @ 2009-11-04 15:01 Cruisoring 阅读(3303) 评论(11) 推荐(1) 编辑
  2009年2月17日
摘要: 前段时间,为了实现WM手机的一些底层功能,需要对RIL的一些函数进行调用,这个过程中发现RILNOTIFYCALLBACK表现得不尽如意:在模拟器上实现的Notification注册在手机上却没有成功,因为缺少文档也没有找到原因。结果实现的功能主要是基于RILResultCallback的。当时为了提高效率,对RIL进行了封装,最近觉得这个封装应该进一步修改,想想自己的Blog还没有什么干货,干脆... 阅读全文
posted @ 2009-02-17 17:21 Cruisoring 阅读(1180) 评论(1) 推荐(0) 编辑
  2009年2月5日
摘要: 我的系统是VS2005,安装了Office2003,最初没有安装“.NET Programmability Support”。 今天在试验平台调用例程时遇到问题:试图添加"Microsoft.Office.Interop.Word"命名空间时产生错误,即在命名空间“Microsoft.Office”中不存在类型或命名空间名称“Interop"... 在网上搜索一下发现很多人遇到过类似问题,很多人建... 阅读全文
posted @ 2009-02-05 17:30 Cruisoring 阅读(19951) 评论(3) 推荐(1) 编辑
  2008年12月10日
摘要: After working in telecom industry for 13 years, now I turn from IMS high-level support to do some research on mobile LCS (LoCation Service) area instead, and have to start programming using VS2005 C#.... 阅读全文
posted @ 2008-12-10 15:02 Cruisoring 阅读(237) 评论(0) 推荐(0) 编辑