- 博客(16)
- 资源 (11)
- 收藏
- 关注
转载 Ubuntu MySQL数据库导入导出详解
1. 概述MySQL数据库的导入,有两种方法:1) 先导出数据库SQL脚本,再导入;2) 直接拷贝数据库目录和文件。在不同操作系统或MySQL版本情况下,直接拷贝文件的方法可能会有不兼容的情况发生。所以一般推荐用SQL脚本形式导入。下面分别介绍两种方法。2. 方法一 SQL脚本形式操作步骤如下:2.1. 导出SQL脚本在原数据
2011-11-30 18:38:43 7803
原创 eclispe 启动 apache-tomcat-7.0.14 APR 出错解决办法
错误日志:The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:tomcat 官网 关于APR 介绍找到对应平台安装办法:Li
2011-11-30 17:05:13 2885
转载 Android系统在新进程中启动自定义服务过程(startService)的原理分析
在编写Android应用程序时,我们一般将一些计算型的逻辑放在一个独立的进程来处理,这样主进程仍然可以流畅地响应界面事件,提高用户体验。Android系统为我们提供了一个Service类,我们可以实现一个以Service为基类的服务子类,在里面实现自己的计算型逻辑,然后在主进程通过startService函数来启动这个服务。在本文中,将详细分析主进程是如何通过startService函数来在新进程
2011-11-28 18:35:08 1113
转载 Visual Studio 2010快捷键
Visual Studio 2010快捷键大全 【窗口快捷键】Ctrl+W,W: 浏览器窗口Ctrl+W,S: 解决方案管理器Ctrl+W,C: 类视图Ctrl+W,E: 错误列表Ctrl+W,O: 输出视图trl+W,P: 属性窗口Ctrl+W,T: 任务列表Ctrl+W,X: 工具箱Ctrl+W,B: 书签窗口Ctrl+W,U: 文档大纲Ctrl+D
2011-11-25 16:13:12 1687 2
转载 com调用的几种方法 及 C#调用C++编写的的COM DLL
一、COM调用的方法5则:1,先注册comRequirement:1.创建myCom.dll,该COM只有一个组件,两个接口IGetRes--方法Hello(), IGetResEx--方法HelloEx()2.在工程中导入组件或类型库 #import "组件所在目录myCom.dll" no_namespace 或 #import "类型
2011-11-25 13:39:35 1151
转载 com组件和一般dll的区别
这阵子在想一个需要利用com组件的小程序怎么做,突然想起上次去面试的时候考官问过autocad开发时为什么要利用com,而不采用一般的dll呢? 到google上查了一下,许多人也问了一样的问题:) 用com来写程序要比普通的dll麻烦一些,但是带来的好处也大很多,尤其是在开发像autocad这样大型软件的时候,需要跨区域来协同工作。“学习COM,首先要知道COM的目的是什么,
2011-11-25 11:55:23 1565
原创 android 动态加载 插件模型开发
目前市面上的应用商店,不管是 apple 还是 android 平台, 一般只有一家商店。如果要动态添加商店,允许多家商店共存。搭建一个平台,多家应用商店可以加入。类似于商场与专卖店的关系。每个商店的业务由各自实现,但统一由商场来提供接口供用户选择。下面就来简单做个原型:1 ClassLoadTestMain 商场2 ClassLoadTestPlugin 商店3
2011-11-17 17:25:14 4329 2
转载 Android中Dalvik(DVM)的详解
Dalvik概述Dalvik是Google公司自己设计用于Android平台的Java虚拟机。它可以支持已转换为.dex(即Dalvik Executable)格式的Java应用程序的运行,.dex格式是专为Dalvik设计的一种压缩格式,可以减少整体文件尺寸,提高I/o操作的类查找速度所以适合内存和处理器速度有限的系统。Dalvik虚拟机(DVM) 和Java 虚拟机(J
2011-11-16 18:47:13 1293
原创 android .mk 引用第三方jar包(参考 Calculator )
dengpei@dengpei-pc:~/git/gingerbread/packages/apps/Calculator$ tree.|-- AndroidManifest.xml|-- Android.mk|-- arity-2.1.2.jar|-- CleanSpec.mk|-- MODULE_LICENSE_APACHE2|-- NOTICE|-- res
2011-11-16 11:07:43 2218
原创 adb 命令集及常用命令
Android Debug Bridge version 1.0.29 -d - directs command to the only connected USB device returns an error if more than one USB device
2011-11-16 10:46:15 4109 1
原创 android adb shell 命令集及常用命令用法
# pwd/# lsacct init.goldfish.rc sd-extcache init.mapphone_umts.rc sdcardconfig init.rc sysd in
2011-11-16 10:41:36 10705
原创 eclipse异常关闭,无法启动
目录:/workspace/.metadata/.plugins/org.eclipse.core.resources/.projects里边有所有工程的配置文件,一般删除最后运行的工程配置即可,然后重新导入。实在不行,把 .metadata 全部删除。
2011-11-10 14:42:36 2758
原创 android 图表引擎
- Java4Less (http://java4less.com/charts/chart.php?info=android) - Chart4J (http://code.google.com/p/charts4j/) 需要网络支持- BlueChart (http://code.google.com/p/bluechart/)- aChartEngin
2011-11-03 11:38:22 4444 2
转载 User-Agent是什么意思捏?
最早的时候有一个浏览器叫NCSA Mosaic,把自己标称为NCSA_Mosaic/2.0 (Windows 3.1),它支持文字显示的同时还支持图片,于是Web开始好玩起来。然后出现了一个新的网页浏览器,“Mozilla”,其实就是“Mosaic终结者”的意思,这搞的Mosaic很不爽,(毕竟Mosaic出道早,江湖老),新浏览器最后正式公布的名称是Netscape,它把自己标称为Moz
2011-11-03 10:29:30 2933
转载 Android自动调整亮度,自动转屏和重力感应的设置
一)Setting相关处理 Settings->display->auto rotate(自动旋转屏幕) /packages/apps/Settings/res/values/strings.xml
2011-11-03 10:23:15 7441 1
Android A Programmer's Guide(Android程序员向导) 英文版
2010-06-27
spring3.x 权威开发指南中文版
2010-05-24
PL/SQL 中文版
2009-08-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人