刚开始在onconfigurationChanged中监听,结果发现该方法在configuration变化即配置文件发生变化时才会被调用,如横竖屏切换,android重新载入配置文件时。而键盘隐藏不会触发该方法。后来采用如下方法完美解决了键盘隐藏监听事件。//该Activity的最外层Layoutf...
分类:
移动开发 时间:
2015-02-01 17:24:04
阅读次数:
259
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Configuration;using System.Data.OracleClient;using Syste...
分类:
数据库 时间:
2015-02-01 14:46:46
阅读次数:
161
using System;using System.Configuration;using System.Data;using System.Data.OracleClient;using System.Collections;namespace WMSWebReport.DBUtility { ....
分类:
数据库 时间:
2015-02-01 14:42:53
阅读次数:
171
//新增] @Test public void add(){ config = new Configuration(); sessionfactory = config.configure("hibernate.cfg.xml").buildSessionFactory(); session = ....
分类:
其他好文 时间:
2015-01-31 14:20:03
阅读次数:
220
Add in the system Path:C:\Program Files\Point Grey Research\FlyCapture2\binProject->Project Property->Configuration Properties->VC++Directories ->Incl...
分类:
其他好文 时间:
2015-01-31 01:39:23
阅读次数:
221
所以对于不再使用的工作空间,每次出现在eclipse的“文件”>>“切换工作空间”里面的时候就觉得特别不爽。所以认真研究了eclipse目录之后让我找到了,删除不需要工作空间记录的方法。打开eclipse的根目录 依次进入 configuration >> .settings 用notepad++打...
分类:
系统相关 时间:
2015-01-30 22:27:24
阅读次数:
232
服务端Web Service新建klmywgSoapHeader.csusing System;using System.Data;using System.Configuration;using System.Runtime.InteropServices;using System.Web;usi...
分类:
Web程序 时间:
2015-01-30 19:33:23
阅读次数:
113
project configuration is not up-to-date with pom.xml其实这个问题解决非常简单:在项目上右键——【Maven】——【Update Project Configuration……】这时会打开一个(Update Maven Dependencies)的对...
分类:
其他好文 时间:
2015-01-30 14:59:01
阅读次数:
168
服务器开始监听 //从配置文件获取要监听的IP和端口 string strIP = System.Configuration.ConfigurationManager.AppSettings["IPAddress"]; int por...
分类:
其他好文 时间:
2015-01-30 09:01:05
阅读次数:
196
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Configuration;using System...
分类:
数据库 时间:
2015-01-30 08:59:28
阅读次数:
152