先说下简单流程吧:1、选中“项目”,右键-》export-》java的“jar file”-》勾选“export generated clas files and resources”-》next-》next-》在“select the class of the application entr.....
分类:
编程语言 时间:
2015-02-11 18:14:46
阅读次数:
141
在项目稍微空闲的时间,在办公电脑上面装上QTP11来学习。但是发现在录制脚本时无法录制web对象,在网上找解决方法说以管理员的身份运行QTP就可以解决无法录制的问题,用这方法证明是ok的。后来用Object spy工具识别web对象还是不行的,网上大部分解决方法是说BHOManager Clas.....
分类:
Windows程序 时间:
2015-02-09 21:29:17
阅读次数:
3114
错误打印部分代码:
android.view.InflateException: Binary XML file line #8: Error inflating class
02-02 11:43:11.420: E/AndroidRuntime(25333): at android.view.LayoutInflater.createView(LayoutInflater.java...
分类:
移动开发 时间:
2015-02-02 14:18:18
阅读次数:
174
package com.wangzhu.string;/** * String类是final类,也就是说String类不能被继承,并且其成员方法都默认为final方法。 * * * @author wangzhu * @date 2015-2-1下午5:42:19 * */public clas.....
分类:
其他好文 时间:
2015-02-01 18:59:46
阅读次数:
203
最近在做个项目, 需要用到 android emulator , 平时用的PC是win7的, 还有一台电脑装的是ubuntu 12.04, 但是没显示器, 发现通过远程连接到ubuntu机器, emulator跑不起来, 报错, 找专家看了看, 应该是OpenGL不支持。
再摆台显示器, 太占地方了, 想到了桌面共享,即使用nvc。
nvc的配置也很简单。
首先, 进入 gnome clas...
读写Unicode(LE)代码:#include #include #include #include "TextCodeChange.h"using namespace std;//#define endl L"\r\n"int main(){ locale loc(locale::clas...
分类:
编程语言 时间:
2015-01-25 15:07:30
阅读次数:
158
利用递归处理
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
clas...
分类:
其他好文 时间:
2015-01-25 01:26:09
阅读次数:
175
原题链接:https://oj.leetcode.com/problems/valid-parentheses/
检查是否是有效的括号序列。这里的解法是维护一个栈,如果是左括号,则push到栈中,如果是右括号,则检查栈顶的符号,如果是对应的做括号,则将之弹出。否则,则直接返回false。当字符串扫描到尾时,则检查栈是否是空,如果是空,则说明所有的括号都match上了。
clas...
分类:
其他好文 时间:
2015-01-23 16:30:25
阅读次数:
178
在C#中常用的数组排序的方法有:选择排序法、冒泡排序法、插入排序法和希尔排序法等。一、选择排序法using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Test{ clas...
分类:
编程语言 时间:
2015-01-22 17:01:04
阅读次数:
212
先是中序遍历
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
clas...
分类:
其他好文 时间:
2015-01-21 22:30:18
阅读次数:
211