2013年12月5日

摘要: 以文本和思维导图的方式简明扼要的介绍了GoF的23个经典设计模式,可当成学习设计模式的一个小手册,偶尔看一下,说不定会对大师的思想精髓有新的领悟。 阅读全文
posted @ 2013-12-05 14:18 唯神能恕 阅读(5021) 评论(6) 推荐(2) 编辑

2011年10月14日

摘要: 1 // 电子证据存放基本路径2 private static String basePath;3 // 电子证据存放根路径4 private static String evidencePath;5 // 照片基本存放路径6 private static String imageBasePath; 1 /** 2 * 1、判断SD卡是否存在 3 */ 4 public static boolean hasSdcard() { 5 String status = Environment.getExternalStorageState(); 6 if (status.equa... 阅读全文
posted @ 2011-10-14 19:04 唯神能恕 阅读(17529) 评论(2) 推荐(0) 编辑

2011年5月28日

摘要: VE(开源)-----------------(Visual Editor)http://download.eclipse.org/tools/ve/downloads/WindowBuilder(开源)-----------------------------(Swt-Designer + Swing-Designer + GWT-Designer)http://code.google.com/intl/zh-CN/javadevtools/download-wbpro.htmlEclipse 3.6 (Helios)http://dl.google.com/eclipse/inst/d2w 阅读全文
posted @ 2011-05-28 17:43 唯神能恕 阅读(781) 评论(0) 推荐(1) 编辑

2011年5月26日

摘要: 当发生某些事件的时候,播放提示音提醒用户。方法一:[DllImport("coredll.dll")]private static extern bool PlaySound(string pszSound, IntPtr hmod, UInt32 fdwSound);/// <summary>/// 测试方法/// </summary>private static void PlayScheduleAlarmSound(){ string file = @"Windows\alarm.wav"; PlaySound(file, 阅读全文
posted @ 2011-05-26 18:07 唯神能恕 阅读(442) 评论(0) 推荐(0) 编辑

导航