1.下载simsun.ttc(宋体)。http://download.csdn.net/detail/lazy_p/4436971
2.linux中跳转到JDK安装目录 ..../jre/lib/fonts
3.sudo mkdir fallback 然后将Windows所拷贝的字体放到fallback中
相关解决网址
http://...
分类:
编程语言 时间:
2014-05-23 02:17:04
阅读次数:
291
介绍一个list滑动时通过一个text提示Array首字母位置的应用
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce...
分类:
其他好文 时间:
2014-05-23 00:58:42
阅读次数:
326
介绍在在title bar上显示indeterminate progress
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ...
分类:
其他好文 时间:
2014-05-23 00:31:27
阅读次数:
352
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo...
分类:
其他好文 时间:
2014-05-23 00:30:50
阅读次数:
415
在数据库处于OPEN的状态下,并且所有表空间、数据文件都处于ONLINE状态,登录RMAN进行还原和恢复报错,ORA-19573: cannot obtain exclusive enqueuefor datafile 1。...
分类:
数据库 时间:
2014-05-23 00:03:58
阅读次数:
406
这篇文章主要讲解注解实现findViewById的功能,首先我们来熟悉一下在java中怎么定义一个注解和解析一个注解
注解的概念是在jdk5.0中提出来的,在java.lang的包中已经定义了三个注解:Override,Deprecated,SuppressWarnings
Override相信大家非常熟悉,就是表明这个方法是改写了父类的方法
Deprecated表示在新版本的 jdk中已经...
分类:
移动开发 时间:
2014-05-22 23:00:43
阅读次数:
444
今天在做图片上传 验证图片mime值时 突然发现 个别特殊情况下finfo_file 获取的MIME值不能直接使用,按照官方的写法是 $finfo=finfo_open(FILEINFO_MIME); $mime=finfo_file($finfo,$file_path); finfo_close($finfo); alert($mime);这样子获得文件mime类型的但是今天发现这样子...
分类:
其他好文 时间:
2014-05-22 22:37:21
阅读次数:
443
import re
data = open('a.txt')
fh = open('b.txt', 'w')
"""Search the string begining with '【'"""
p = re.compile(r'\s*[\u3010]')
for each_d in data:
if re.match('\s*3\d{4}', each_d):
...
分类:
编程语言 时间:
2014-05-22 17:26:17
阅读次数:
293
然后就写完了哈哈哈哈哈哈哈哈哈哈哈怎么会这么简单的哈哈哈哈哈哈不行了……首先,申请权限:
然后,打开相机:Camera camera =
Camera.open();之后,准备好照相机:camera.startPreview();下一步,获取参数对象:Parameter...
分类:
其他好文 时间:
2014-05-22 15:51:40
阅读次数:
255
Microsoft Open Technologies has recently
released a Portable Class Libraryfor SQLite. Thanks to it, we can use SQLite in
the same way in all the suppo...
分类:
数据库 时间:
2014-05-22 15:06:51
阅读次数:
428