一 首先是引用包的问题Fragment是Android 3.0出现的,旧版本要兼容使用Fragment必须引入包android-support-v4.jar,可以兼容到1.6。它们的区别:1.在创建FragmentTransaction实例时: 如果import android.app.Frag.....
分类:
其他好文 时间:
2014-09-25 22:02:57
阅读次数:
252
Ubuntu建立(apache+php+mysql)+phpmyadminUbuntu建立apache+php+mysql基本的支持环境。暂时还不应用zend优化,因此这里就不涉及到zend optimizer的安装了。其实在ubuntu系统中中安装远比在windows系统中设置更为容易,而且在终端...
分类:
其他好文 时间:
2014-09-25 20:07:17
阅读次数:
243
mmseg4j 1.9.1 + Solr 4.7.2报错TokenStream contract violation: reset()/close() call missing, reset() called multiple times, or subclass does not call sup...
分类:
其他好文 时间:
2014-09-25 18:29:37
阅读次数:
172
BizTalk应用程序的性能测试和分析是一个非常重要的过程,因为BizTalk的应用程序在Run-time时受部署结构、消息请求数量和消息大小等 的影响很大,因此无论是简单还是复杂的的应用都需要在部署到生产环境之前执行这一过程。 一般在性能测试中通过Windowns系统自带的性能能监视器来采集相关....
分类:
其他好文 时间:
2014-09-25 16:55:37
阅读次数:
106
spring mvc 报错:failed to lazily initialize a collection of role在web.xml添加openSessionInViewFilterorg.springframework.orm.hibernate4.support.OpenSessionI...
分类:
其他好文 时间:
2014-09-25 15:54:49
阅读次数:
142
占位符https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=2082062510193540&id=1366133.1&_afrWindowMode=0&_adf.ctrl-state=rru77dj7v_139NOTE:14...
分类:
数据库 时间:
2014-09-24 22:16:27
阅读次数:
241
Fragment低版本使用需要导入V4包 主类文件:(因为低版本Activity中无法调用getFragmentManager()方法,所以继承FragmentActivity) import android.os.Bundle;
import android.support.v4.app.Frag...
分类:
其他好文 时间:
2014-09-24 19:40:17
阅读次数:
293
在Android开发中,新建的项目可能因为缺少对sopport工程的引用而报错,可以这样解决。1、项目右键 --> import --> Android --> Existing Android Code Into workspace --> 选择..\sdk\extras\android\supp...
分类:
移动开发 时间:
2014-09-24 18:10:17
阅读次数:
221
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be ...
分类:
其他好文 时间:
2014-09-24 17:45:07
阅读次数:
214
错误日志:2014-09-24 10:50:16 [org.springframework.context.support.FileSystemXmlApplicationContext]-[INFO] Refreshing org.springframework.context.support.F...
分类:
编程语言 时间:
2014-09-24 15:53:27
阅读次数:
470