The action bar provides your users a familiar and predictable way to perform actions and navigate your app, but that doesn't mean it needs to look exactly the same as it does in other apps. If you want to style the action bar to better fit your product bra...
分类:
移动开发 时间:
2014-08-07 03:07:49
阅读次数:
605
设置方法:我的电脑->属性->高级->环境变量->系统变量中添加以下环境变量:JAVA_HOME值为:安装JDK的目录, 我的为C:\Program Files\Java\jdk1.8.0_05(安装时候有路径选择,复制下来即可)CLASSPATH值为:.;%JAVA_HOME%\lib\tools...
分类:
移动开发 时间:
2014-08-06 21:55:42
阅读次数:
371
用户有一个需要用txt更新表数据的功能,用lookup实现,步骤:
1.
循环文件夹的txt文件
2.
用Lookup 全部cache目标表数据,比对txt数据和目标表数据
3.
如果有match的数据用txt更新目标表
但是执行每次Match的数据都是0,而txt中确实存在匹配的数据。翻了一下微软的BO...
分类:
其他好文 时间:
2014-08-06 19:12:42
阅读次数:
398
JS判断设备终端(PC,iPad,iPhone,android,winPhone)和浏览器var ua = navigator.userAgent; var browser = {}, weixin = ua.match(/MicroMessenger\/([^\...
分类:
移动开发 时间:
2014-08-06 11:48:31
阅读次数:
431
利用栈判断输入的表达式中的括号是否匹配(假设只含有左、右括号)
bool Match(char exp[],int n)
{
int i=0;
char e;
bool match=true;
SqStack *st;
InitStack(st);//初始化栈
while(i
{
if(exp[i]=='(')//当前字符为左括号,将其...
分类:
其他好文 时间:
2014-08-06 10:31:59
阅读次数:
225
An example of in-order traversal application. My intuition is that, we have to serialize it into an array and check, but in-order traversal does exact...
分类:
其他好文 时间:
2014-08-05 03:03:48
阅读次数:
241
在eclipse中编写如下的代码,eclipse会给出黄色告警:finally block does not complete normally。
public class Test
{
public static void main(String[] args)
{
System.out.println(m1(null));
}
public ...
分类:
系统相关 时间:
2014-08-04 18:02:37
阅读次数:
200
http://acm.hdu.edu.cn/showproblem.php?pid=3277题意:有2N个孩子,其中有N个女生,N个男生,每一个女生可以找一个没有争吵过得男生组成一个家庭,并且可以和与她关系好的女生互换男生。与HDU 3081 Marriage Match II不同的是,女生交换朋友...
分类:
其他好文 时间:
2014-08-04 17:25:47
阅读次数:
219
Description
There is a number of disjoint vertical line segments in the plane. We say that two segments are horizontally visible if they can be connected by a horizontal line segment that does not ...
分类:
其他好文 时间:
2014-08-03 23:16:26
阅读次数:
412
一个int占多少个字节?这个问题我们往往得到的答案是4.可是int究竟占多少个字节,却跟你的机器环境有关.As you can see, the typical data type sizes match the ILP32LL model, which is what most compilers...
分类:
其他好文 时间:
2014-08-03 20:32:25
阅读次数:
233