安装上ubuntu14.04时,系统启动时一直出现一个问题
kernel: [ 16.465893] [drm:rv770_dpm_set_power_state] *ERROR* rv770_set_sw_state failed
显卡是ATI4330,google了一下,网上也有类似的问题,看了一些,决定升级一下内核试一下。
原有的内核是3.13的,从ubuntu 内核网站上看到最新...
分类:
其他好文 时间:
2014-05-13 23:26:01
阅读次数:
331
一、日期转换为字符串1.日期以特定的格式输出: // 创建日期并转换为yyyy-mm-dd格式
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); String datestr =
sdf.format(new Date()...
分类:
编程语言 时间:
2014-05-13 20:58:54
阅读次数:
261
Unity 3D本地发布WebPlayer版时"Failed to download data file"解决方案...
分类:
Web程序 时间:
2014-05-13 15:12:03
阅读次数:
850
实现了%d %x %c %s对变长函数的参数取址有了深刻的理解
,蒋yy的实验任务其实还是很有帮助的^_^ 1 int printf ( const char * format, ... ) 2 { 3 int
Count=0; 4 int index=0; 5 char b...
分类:
其他好文 时间:
2014-05-13 11:01:59
阅读次数:
226
判断shutcut是否安装
"com.android.launcher.permission.READ_SETTINGS"/>
这段代码在模拟器上运行没有问题,但是在htc s510e运行报异常Failed to find provider info for com.android.launcher2.settings
通过但因htc所有包发现htc中的launcher被定制了改名为co...
分类:
移动开发 时间:
2014-05-12 23:58:28
阅读次数:
625
Multiple annotations found at this line: - schema_reference.4: Failed to read schema document 'http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd', because 1) could not find the document; 2)...
分类:
编程语言 时间:
2014-05-12 22:55:47
阅读次数:
409
解决方法是将 jre的目录在 window->Preferences 里修改java
installed里的jre目录改为jdk目录即可。原因是在jre目录下不存在tools.jar.
分类:
其他好文 时间:
2014-05-12 22:08:31
阅读次数:
895
今天照着孙鑫老师的VC++教程学习文件的操作,VS2010,单文档应用程序,项目文件命名为File,也就有了自动生成的CFileDoc、CFileView等类,一进去就编译运行(就是最初自动生成的项目),编译通过,可运行时直接弹出错误框,有点小懵,,,啥都没做就给我看这个:图一
错误提示框后来搜索....
分类:
其他好文 时间:
2014-05-12 21:34:45
阅读次数:
375
今天想使用String.Format,和平时的用法不一样。直接上代码: [Test]
public void TestMethod6() { string A = "A"; string B = "B"; ...
分类:
其他好文 时间:
2014-05-12 19:38:59
阅读次数:
296
效果图:
此程序主要的知识点是:SimpleAdapter本身是不支持网络图片的, 如果在Map.put(a,b)中 b为一个Bitmap,程序不会报红色字体,而是在控制台输出绿色的字体,如下
05-10 15:46:45.474: I/System.out(846): resolveUri failed on bad bitmap uri: android.graph...
分类:
移动开发 时间:
2014-05-11 20:35:03
阅读次数:
506