上篇博文分享了我的知识库,被好多人关注,受宠若惊。今天我把我在项目中封装的OPC自定义接口的程序分享一下。下面将会简单简单介绍下OPC DA客户端数据访问,以及搭配整个系统的运行环境。OPC(OLE for Process Control)其实就是一套标准,我对这套标准理解不多,使用过程中就把它.....
分类:
其他好文 时间:
2014-07-22 22:57:55
阅读次数:
1175
http://www.mysqlsystems.com/2012/03/figure-out-process-of-autofailover-on-mha.htmlhttp://jackyrong.iteye.com/blog/1141863
分类:
数据库 时间:
2014-07-22 22:55:36
阅读次数:
215
一.iptables简介1.iptables数据包处理流程以本机为目的的包,由上至下,走左边的路本机产生的包,从local process开始走左边的路本机转发的包,由上至下走右边的路简化流程如下:2.iptables表结构在neutron中主要用到filter表和nat表filter表: ...
分类:
其他好文 时间:
2014-07-19 22:18:24
阅读次数:
468
#include #include /*功能:复制进程參数:无返回值: 成功: 父进程:返回子进程id 子进程:返回0 失败: 返回-1*/pid_t fork(void); 由fork创建的新进程被称为子进程(child process)。该函数...
分类:
系统相关 时间:
2014-07-19 21:05:30
阅读次数:
311
>>Kill the app by swiping out the screen
The RC process is killed and activity stack is cleared. And thesystem will relaunch the rc process automatically. When user launch theapp, it will show the l...
分类:
移动开发 时间:
2014-07-18 21:30:13
阅读次数:
354
DDMS DDMS(Dalvik Debug Monitor Server)就是动态调试的一个工具(不知Android L之后会不会改名--!)。DDMS提供文件浏览、Logcat、Method Profiling等功能。定位关键代码1.代码注入法用Apktool反编译得到smali,查找onCl....
分类:
移动开发 时间:
2014-07-18 20:02:52
阅读次数:
225
On a32-bitmachine:Any CPU: runs as a 32-bit process, can loadAny CPUandx86assemblies, will getBadImageFormatExceptionif it tries to load anx64assembly...
分类:
其他好文 时间:
2014-07-17 10:00:48
阅读次数:
235
什么是静默安装?既是可以在不提示用户的情况下,进行APK的安装。
有的时候,根据业务需求,需要实现静默安装APK,但是Android提供的安装接口是需要提示用户的前提下安装。
以下提供一个静默安装的解决方案(通过执行命令行的方式实现,需ROOT权限):
new Thread() {
public void run() {
Process process = null;
...
分类:
移动开发 时间:
2014-07-16 14:08:27
阅读次数:
259
在VMware workstation 10中运行的虚拟机中再安装workstation软件时,启动时会出现不断重启的故障,解决办法:在宿主虚拟机的.vmx文件中添加一行monitor_control.restrict_backdoor = "TRUE"重启虚拟机即可。
分类:
其他好文 时间:
2014-07-16 13:57:51
阅读次数:
200
hierarchyviewer.bat或者monitor.bat一直都是分析layout的神器,不过,很多时候不好用,连不上真机,害的我不得不使用模拟器来分析layout。
今天发现了另外一个申请,就在ADT里面,它就躺在那,我怎么一直就没发现?
Dump View Hierarchy for UI Automator...
分类:
移动开发 时间:
2014-07-16 09:41:12
阅读次数:
358