google提供了Android Support Library package
系列的包来保证来高版本sdk开发的向下兼容性,即我们用4.x开发时,在1.6等版本上,可以使用高版本的有些特性,如fragement,ViewPager等,下面,简单说明下这几个版本间的区别:
Android Supp...
分类:
移动开发 时间:
2014-05-12 16:42:26
阅读次数:
478
昨天晚上更新了下Android SDK Manager,发现Extras下的Android
Support
Library已经更新到19.1了,上网一查原来是sdk\extras\android\support\v7中的android-support-v7目录又添加了新的内容。据官方介绍,and.....
分类:
移动开发 时间:
2014-05-08 11:57:12
阅读次数:
426
LRU Cache
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 posi...
分类:
其他好文 时间:
2014-05-07 07:16:21
阅读次数:
316
右键New->Other->AndroidSampleProject->选择Android4.4.2->选择Support7Demos,finish。会出现编译错误解决如下:1.把这三个文件导入到Eclipse里,这三个是库文件,并且勾选COPY到工作空间里选项如果没有这三个文件,就从这里下载2.导入三个library工程后,mediar..
分类:
其他好文 时间:
2014-05-06 20:34:11
阅读次数:
864
在新版的XenServer6.2中挂载CIFSISO时,刚挂完ISO使用时就出现“xenserverdoesnotsupportextendedcharactersinCIFSpaths,usernames,andpassword”的错误,网上查看到说此问题可能是XenServer6.2的Bug,处理该问题只要将你的ISO文件外中的中文字符全部改成英文就可以了。然后一看..
分类:
其他好文 时间:
2014-05-06 17:29:26
阅读次数:
287
原地址:http://www.davebost.com/2013/08/30/creating-a-unity-game-for-windows-8Therecent
release of Unity 4.2brings with it full-support for deploying Unit...
1、先上图后说话
2、代码
package com.example.exmp;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.os.Parcelable;
import android.support.v4.view.PagerAda...
分类:
移动开发 时间:
2014-05-04 18:43:02
阅读次数:
585
更新步骤,网上有说,官网上也有,这里给出官网的,https://support.mozilla.org/zh-CN/kb/Flash%E6%8F%92%E4%BB%B6#w_uiiu-flash但按官网说的和其他博客说的,ff并不能正常播放视频,主要原因自己推测是没把libflashplayer.so放对位置。根据官网上的更新步骤更新后,我是更新6..
分类:
系统相关 时间:
2014-05-04 17:19:19
阅读次数:
405
原来ActionbarActivity是为了兼容以前的2.x版本设计的类:android.support.v7.app.ActionBarActivity用appcompat模式改Navigation
Tabs的风格,Indicator的消失了,2.3却是正常的。于是想弃用2.x,却发现不用人家自己...
分类:
其他好文 时间:
2014-05-04 10:45:47
阅读次数:
289
参考:http://docs.jboss.org/hibernate/annotations/3.4/reference/zh_cn/html_single/1、系统配置:
可以通过使用 mapping的 resource,于class 属性混合配置在创建SessionFactory 也可以通过代码...
分类:
系统相关 时间:
2014-05-03 22:50:55
阅读次数:
584