- 博客(9)
- 问答 (1)
- 收藏
- 关注
原创 跳转到蓝牙设置页面
[code="java"] Intent settintIntent = new Intent(android.provider.Settings.ACTION_BLUETOOTH_SETTINGS); startActivity(settintIntent); [/code]
2012-07-06 15:12:05 743
原创 frameLayout代替AbsoluteLayout通过坐标定位
:cry: 貌似iteye人越来越少了,算了我还是在这里记录一下吧。 你是我的眼,带我阅读浩瀚的书海········· .......... 假如我定义一个需要定位的imageView [code="java"]ImageView imageView = new ImageView(this);[/code] 在AbsoluteLayout中通过x,y定位很好定位,但是...
2012-06-12 10:23:58 603
原创 现在展示能装adt的eclipse版本
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR2/eclipse-java-helios-SR2-win32.zip 这个下载的版本能安装adt,以后不知道会不会又变了,去年装的时候都不要这么麻烦https://dl-ssl.google.com/andr...
2012-02-14 14:19:25 101
原创 那个什么死锁
1.下面的语句用来查询哪些对象被锁: select object_name,machine,s.sid,s.serial# from v$locked_object l,dba_objects o ,v$session s where l.object_id = o.object_id and l.session_id=s.sid; 2.下面的语句用来杀死一...
2011-04-25 15:48:01 109
client
kao![code="java"] public class HttpUtils { /** * post请求 ,超时默认10秒 * @param url * @param params * @return * @throws IOException */ public String post(Str...
2011-01-13 14:55:12 110
原创 js String 方法
[code="java"]String.prototype.Trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ""); } String.prototype.LTrim = function() { return this.replace(/(^\s*)/g, ""); } String.prototype.RTri...
2010-07-19 14:10:18 78
原创 json的一点点
当json里面放集合时,使用hibernate的话,如果有many-to-one.要注意过滤 如:[code="java"]String id=SystemUtil.checkNullString(req.getParameter("id")); JsonConfig jsonConfig=new JsonConfig(); jsonConfig.setExcludes(new String...
2010-06-30 17:59:12 83
原创 有个项目用到反射,记录一下
[code="java"]public class Operate { /** * 使用条件 :inObj与outClass具有相同的属性 * @param inObj 包含有数据的对象 * @param outClass 需要返回对象的类型 * @return outClass类型的实例,该实例的属性值通过inObj赋值 */ public Object g...
2010-06-26 15:05:53 166
空空如也
oracle触发器删除一条数据,删除了所有数据???
2010-11-29
TA创建的收藏夹 TA关注的收藏夹
TA关注的人