方法一: [java]view plaincopy@OverridepublicbooleanonTouchEvent(MotionEventevent){if(event.getAction()==MotionEvent.ACTION_DOWN){if(!(event.getX()>=-10&&e...
分类:
移动开发 时间:
2015-10-19 01:50:17
阅读次数:
200
man中的相关操作:1、[page up]或者[空格]---->向上翻页。2、[page down]---->向下翻页。3、/string---->向下查找string这个字符串。4、?string---->向上查找string这个字符串。5、在查找页面中n表示定位到下一个出现string的地方;N...
分类:
系统相关 时间:
2015-10-17 22:10:30
阅读次数:
228
that.onStatusEnumChange = function (toStatus) { //设计理念是当completed 和 rejected 的状态下,是无法换状态 if (toStatus == "completed" || toStatus == "rejected") { ...
分类:
其他好文 时间:
2015-10-17 16:09:58
阅读次数:
119
The operating system plays a key role in energy management. It controls all the devices, so itmust decide what to shutdown and when to shut it down. I...
分类:
其他好文 时间:
2015-10-17 07:01:02
阅读次数:
230
一:在管理节点发现某个节点状态为down,这种情况有两种原因第一种原因:pbs_mom配置文件错误1.分析:服务pbs_mom启动后,默认首先去查看/var/spool/torque/mom_priv目录下是否有config文件,如果有则根据该文件下指出的pbsserver的主机名去联系管理节点(以该文件为准),如果..
分类:
其他好文 时间:
2015-10-16 15:26:26
阅读次数:
251
org.apache.catalina.tribes.group.interceptors.TcpFailureDetector memberAlive 严重: Unable to perform. failure detection check, assuming member down. java.net.NoRouteToHostException: No route to ho...
分类:
其他好文 时间:
2015-10-16 13:45:07
阅读次数:
131
第一个:[2012-11-09 13:15:14 - Tesa] Android Launch![2012-11-09 13:15:14 - Tesa] The connection to adb is down, and a severe error has occured.[2012-11-09...
分类:
移动开发 时间:
2015-10-16 09:52:56
阅读次数:
343
A TRIP DOWN MEMORY LANE@interface Kraken : NSObject@end@implementation Kraken+ (instancetype)sharedInstance { static Kraken *sharedInstance = nil; ...
分类:
其他好文 时间:
2015-10-15 17:47:31
阅读次数:
153
Lattice pathsProblem_15Starting in the top left corner of a 2×2 grid,and only being able to move to the right and down,there are exactly 6 routes to t...
分类:
其他好文 时间:
2015-10-14 21:36:48
阅读次数:
191
ACTION_MASK在Android中是应用于多点触摸操作,字面上的意思大概是动作掩码的意思。在onTouchEvent(MotionEventevent)中,使用switch(event.getAction())可以处理ACTION_DOWN和ACTION_UP事件;使用switch(event...
分类:
其他好文 时间:
2015-10-14 14:18:47
阅读次数:
230