官方demo见
https://github.com/square/otto注意自己该编译版本为2.3以上,默认的1.6不支持match_parent属性,导致布局文件出错。另外需要手动添加android-support-v4和otto到自己的libs文件夹。主要代码逻辑:1,在主页面点clear按...
分类:
移动开发 时间:
2014-05-16 19:19:36
阅读次数:
334
计算机中储存的信息都是用二进制数表示的;而我们在屏幕上看到的英文、汉字等字符是二进制数转换之后的结果。字符集(Charset):是一个系统支持的所有抽象字符的集合。字符是各种文字和符号的总称,包括各国家文字、标点符号、图形符号、数字等。字符编码(Character
Encoding):是一套法则,使...
分类:
其他好文 时间:
2014-05-16 18:18:56
阅读次数:
316
题目: Design and implement a data structure for Least
Recently Used (LRU) cache. It should support the following operations:getandset.
get(key)- Get ...
分类:
其他好文 时间:
2014-05-16 05:42:29
阅读次数:
280
一、设置MyEclipse的字符编码,步骤如下:
1、进入Window--Preferences--General--Workspace,Text file encoding 选项中默认的Default(GBK)选项更改为Other,并将值设为utf-8;
2、进入Window--Preferences--MyEclipse--Files and Editors,将这个选项下面的:ASP ...
分类:
数据库 时间:
2014-05-15 04:18:55
阅读次数:
299
1.我使用的Hadoop2.0-cdh4.3.0,对应hive配套版本hive-0.10.0-cdh4.3.0。
2.修改hive/conf下hive-site.xml文件,无则创建hive-site.xml,在底部添加如下内容:
[html] view
plaincopy
xml version="1.0" encoding="UTF-8"...
分类:
其他好文 时间:
2014-05-15 04:05:27
阅读次数:
341
window->preference->General->workspace->Text file encoding->utf-8->Apply->ok
project->clean...
分类:
其他好文 时间:
2014-05-15 03:48:15
阅读次数:
320
右键选择Options...
左栏选项选择Text,右栏Character set 选择GBK,Locale选择zh_CN
选择OK,乱码成功变中文。...
点击这里查看文章
有空试试~~~唉。。。
Ubuntu (Linux) on Atom Z3700 Series
ASUS Transformer Book T100 is particularly interesting platform, because
some guys at XDA developers forum have already installed Androi...
分类:
系统相关 时间:
2014-05-14 15:08:01
阅读次数:
547
http://blog.csdn.net/xiaanming/article/details/9031141http://www.cnblogs.com/androidez/archive/2013/07/21/3203964.html如果在有用到过viewpager或者fragmentActivi...
分类:
移动开发 时间:
2014-05-14 10:13:24
阅读次数:
354
方法一:文件里写:方法二:选择window –> Preferences –>
MyEclipse –> Files and Editors –>
JSP中选择你要设置的Encoding根本行不通啊,没有encoding这一项啊,在style里面又不能改,哪位用过myeclise8.5的帮个忙---...
分类:
Web程序 时间:
2014-05-14 07:43:34
阅读次数:
539