SDK中带有很多的例子,那么我们怎么样导入到eclipse中呢?方法很简单,如下:1.
新建android工程,选择Create project from existing sample,2. 选择sdk的version,click Next.3.
这时你会看到很多samples, 从下拉列表中选择...
分类:
移动开发 时间:
2014-05-16 23:24:22
阅读次数:
414
Euclidean projection on a setAn Euclidean
projection of a point on a set is a point that achieves the smallest Euclidean
distance from to the set. ...
分类:
其他好文 时间:
2014-05-16 20:08:59
阅读次数:
1697
create table OA_WF_NODETEMP as select * from
oa_wf_node where 1=2
分类:
其他好文 时间:
2014-05-16 18:55:53
阅读次数:
202
-- 查找重复记录select names,num from test where rowid !=
(select max(rowid) from test b where b.names = test.names and b.num =
test.num)或者使用select names,n.....
分类:
数据库 时间:
2014-05-16 18:51:53
阅读次数:
278
项目上线了,发现IP地址写成了测试的。很苦恼。。。但是,我们在配置文件中,配置的是正式的IP地址。然后,返回到源码中,猛然发现,一个很幼稚的错误。原理很简单,但被忽略掉了。就是因为一个static的变量惹的祸。举个简单的列子:public
static String base = "http://2...
分类:
其他好文 时间:
2014-05-16 09:48:14
阅读次数:
244
上一节实现了对TableExpression的解析,通过反射创建实例以及构建该实例的成员访问表达式生成了一个TableExpression,并将其遍历格式化为”Select
* From TableName ”之类的SQL语句,本节继续对其他QueryExpression进行解析。先回顾一下几个类的...
分类:
其他好文 时间:
2014-05-16 08:26:20
阅读次数:
361
第一种:使用命令修改(直接即时生效,重启失效)#ifconfig eth0
192.168.0.1 netmask 255.255.255.0
up说明:eth0是第一个网卡,其他依次为eth1,eth*192.168.0.1是给网卡配置的第一个网卡配置的ip地址netmask
255.255.25...
分类:
系统相关 时间:
2014-05-14 09:09:43
阅读次数:
428
/proc/sys/vm/drop_caches(since Linux 2.6.16)Writing
to this file causes the kernel to drop clean caches,dentries and inodes from
memory, causing that ...
分类:
系统相关 时间:
2014-05-14 08:54:16
阅读次数:
331
检查AWR当前设置:SQL> select * from
dba_hist_wr_control; DBID SNAP_INTERVAL RETENTION TOPNSQL----------
------------------------- ------------------------- -...
分类:
其他好文 时间:
2014-05-14 08:45:07
阅读次数:
374