Fragment低版本使用需要导入V4包 主类文件:(因为低版本Activity中无法调用getFragmentManager()方法,所以继承FragmentActivity) import android.os.Bundle;
import android.support.v4.app.Frag...
分类:
其他好文 时间:
2014-09-24 19:40:17
阅读次数:
293
错误日志: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
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value (will always be positive) of the
key i...
分类:
其他好文 时间:
2014-09-24 10:31:06
阅读次数:
251
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value (will always be positive) of the
key i...
分类:
其他好文 时间:
2014-09-24 09:40:46
阅读次数:
177
1、我们在VS中找到"解决方案资源管理器", 在解决方案"HelloCocos"上点击右键, 选择添加现有项目. 在弹出的对话框中选择*************\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcx...
在用ActionBar的自定义ActionProvider的时候有时候会遇到以下的报错:产生的原因是:引入的ActionProvider的包出错了如果引入的是import android.support.v4.view.ActionProvider;就会产生上诉错误。修改错误:将引入包改成impor...
分类:
移动开发 时间:
2014-09-23 18:58:25
阅读次数:
290
One of the most exciting features of PHP 5.3 is the first-class support foranonymous functions. You may have heard them referred to asclosuresor lambd...
分类:
Web程序 时间:
2014-09-23 12:11:34
阅读次数:
283
1, Sort
Needless to say, mongodb also support to sort data. THe positive one means sorting by asc order and negetive means by desc.
2. Group
The grammar of group:
Description Of Argument:...
分类:
数据库 时间:
2014-09-23 02:47:33
阅读次数:
267
旧版的chrome有个support for sass,但是新版chrome没有这个功能了。看到网上提供的方法比较多,也很乱,旧版新版的都有。而且不能指定自己所需要的路径。所以就做了下改版。sass和less都有提供一个map文件,这个文件是用来干嘛的呢?.map文件是一个json格式的文件,可以直...
分类:
Web程序 时间:
2014-09-23 02:24:53
阅读次数:
524
1、COSS will not function without large file support (off_t is 4 bytes long. Please reconsider recompiling squid with --with-large-filesBungled squid_w...
分类:
其他好文 时间:
2014-09-22 23:23:53
阅读次数:
311