摘要: 首先我们先来看下官方API对SurfaceView的介绍SurfaceView的API介绍Provides a dedicated drawing surface embedded inside of a view hierarchy. You can control the format of this surface and, if you like, its size; the SurfaceView takes care of placing the surface at the correct location on the screen The surface is Z order 阅读全文
posted @ 2013-07-25 21:52 lukelau 阅读(208) 评论(0) 推荐(0)
摘要: 很久以来都想研究一下利用java操作Excel的方法,今天没事,就稍微了解了一下,特总结一下。利用java操作Excel,有个开源的东东-jxl.jar,可以到http://sourceforge.net/project/showfiles.php?group_id=79926下载。一.读取Excel文件内容java 代码/**读取Excel文件的内容*@paramfile待读取的文件*@return*/publicstaticStringreadExcel(Filefile){ StringBuffersb=newStringBuffer(); Workbookwb=null; t... 阅读全文
posted @ 2013-03-07 12:43 lukelau 阅读(262) 评论(0) 推荐(0)
摘要: Android模拟器提供了很多启动选项,你可以在启动模拟器时指定,来控制其外观和行为。下面是用命 令行的方式启动模拟器并指定参数的语法:emulator [-option [value]] ... [-qemu args]下表总结了所有有效的选项。类型选项描述注释帮助de>-helpde>以列表的形式打印模拟器的所有命令数据de>-data [file]de>使用<file>当作用户数据的磁盘镜像如果没有de>-datade>,模拟器会在~/.android (Linux/Mac) 或C:\Documents and Settings\<u 阅读全文
posted @ 2013-03-06 11:31 lukelau 阅读(356) 评论(0) 推荐(0)
摘要: 展现层--->业务逻辑层-->数据持久化层Struts2--->Spring-->Hibernate 阅读全文
posted @ 2013-03-03 21:16 lukelau 阅读(175) 评论(0) 推荐(0)