这一部分是jquery的核心jquery的构造器jquery的核心工具函数构造器jQuery = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanc...
分类:
Web程序 时间:
2014-07-10 13:24:06
阅读次数:
535
第一步:在XML中配置java信息,与自动检测配置XML一样:第二步:定义配置类第三步:声明bean和bean的注入:package com.springinaction.springidol;import org.springframework.context.annotation.Bean;im...
分类:
编程语言 时间:
2014-07-07 20:56:54
阅读次数:
309
源代码如下: 1 public class ReceiveHandler extends BroadcastReceiver{ 2 3 private final String ACTION_RECE_LinkReply="com.hutao.linkRequestReceive"; 4 ...
分类:
其他好文 时间:
2014-07-07 20:48:23
阅读次数:
324
前几天在网上下了个项目,感觉名字长,所以想把项目改名字。把项目导入到myeclipse中,将项目改名后, 还需要选中项目右键,properties ,修改项目的Context Root的名字。
分类:
编程语言 时间:
2014-07-07 20:15:05
阅读次数:
200
1 AlertDialog builder=new AlertDialog.Builder(context).setTitle("注意:") 2 .setIcon(R.drawable.dailog_icon) 3 .setMessa...
分类:
移动开发 时间:
2014-07-07 19:46:09
阅读次数:
288
在myeclipse中部署项目时,当Deploy type为Exploded Archive(deveplopment mode)时,finish按钮为灰色,无法部署的解决方法: 1.project上右键properties->MyEclipse->web->web context-root为空 输...
分类:
编程语言 时间:
2014-07-07 19:38:31
阅读次数:
282
项目开发中经常会用到Wifi连接Wifi连接分两种情况有密码和无密码一下两种方法分别是连接有密码和无密码的方法经过小米2S和三星平板验证//连接有密码的Wifi privatevoidconnectToWifi(StringSSID,Stringkey){ WifiManagerwifi=(WifiManager)getSystemService(Context.WIFI_SERV..
分类:
其他好文 时间:
2014-06-28 00:13:28
阅读次数:
418
因项目需要,将springmvc和hbase整合,启动tomcat时报错如下:SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.conte...
分类:
编程语言 时间:
2014-06-27 20:20:46
阅读次数:
557
1,实现自定义TextView并实现isFocused()方法,代码如下: 1 public class RollTextView extends TextView{ 2 3 public RollTextView(Context context) { 4 super(co...
分类:
移动开发 时间:
2014-06-27 16:46:16
阅读次数:
265
array( 'method' => 'POST', 'header' => $header, 'content' => $content ) ); $context = stream_...
分类:
Web程序 时间:
2014-06-27 14:40:35
阅读次数:
225