Open the Dragon Scroll
Did you ever hear about 'Dragon Food' ? Its used to refer to the chocolates bought for your loved ones :). Po offers dragon food to master Shifu, who is a famous cook in th...
分类:
其他好文 时间:
2014-05-10 10:06:11
阅读次数:
382
Android 新浪微博分享及授权
在开发中遇到了各种坑....所以分享一下 希望能给大家贡献点经验
本文使用的开发的环境是 eclipse
本文叙述的新浪微博分享及其授权的内容分为两块 :
一 新浪提供的 WeiboSDKDemo
二 嵌入到自己的应用当中去
第一部分 运行成功 WeiboSDKDemo
下载新浪的微博的SDK
先去新浪开放平台 : http://open.weibo.com/ 注册,登陆
选择 移动应用 在页...
分类:
移动开发 时间:
2014-05-07 08:01:21
阅读次数:
447
Android Camera HAL通过V4L2接口与内核Camera Driver交互。本文从Linux应用开发者的角度审视Android
Camera子系统。
V4L2应用开发一般流程:
1. 打开设备文件。 int fd=open("/dev/videoX″,O_RDWR);
2.取得设备的capability,看看设备具有什么功能,比如是否具有视频输入,或...
分类:
移动开发 时间:
2014-05-07 07:26:03
阅读次数:
488
不小心重命名了libc.so.6动态库,运行命令
#mv /lib/libc.so.6 /lib/libc.so.6.back
#ls
ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
各种命令都不好...
分类:
其他好文 时间:
2014-05-07 04:49:53
阅读次数:
319
I make a connection through SSH and then I type:
# x0vncserver --PasswordFile=/home/hello/.vnc/passwd
x0vncserver: unable to open display ""
~ImageCleanup called
the reason is :
...
分类:
其他好文 时间:
2014-05-07 04:23:43
阅读次数:
581
由于最近刚接手做静态库的同事的工作,这样难免的集成调试啊,但是集成之后老是出现linker command failed with exit code 1这个错误,查了许多资料,最后终于解决了,今天就这个问题做个探讨,以防止以后犯同样的错误,我先说下我这个项目里面错误的解决办法,然后再笼统的说下其他的解决办法。。
好,这是我出现 linker command failed with...
分类:
移动开发 时间:
2014-05-07 04:12:07
阅读次数:
431
之前在查看v$open_cursor的时候,发现很多相同的record。 让我很疑惑, sid
saddr sql_id 都相同,我就想 这不是一个cursor吗? 那为什么在open_cursor中出现多次?
后来通过别人点拨明白了,这应该是一个相同的SQL语句被 session 打开了并运行了很...
分类:
其他好文 时间:
2014-05-07 01:11:25
阅读次数:
403
安装GI时出现错误 [INS-20802] Automatic storage Management Configuration Failed....
分类:
其他好文 时间:
2014-05-06 22:45:34
阅读次数:
379
将文件的每行读取到字典中文件每行内容格式为:cui:123456789f=open(‘user.txt‘)
d=f.readlines()
f.close()
mydict={}
foriind:
user=i.split(‘:‘)[0]
info=i.split(‘:‘)[1].rstrip()
mydict[user]=info
分类:
编程语言 时间:
2014-05-06 16:40:26
阅读次数:
362
项目中用到了地图相关的东西,就把以前的demo搬了出来,结果发现直接运行之前的demo没有问题,在xcode5下新建项目再把代码粘贴过来就会提示
May 5 11:36:21 infomedia-iPod-touch TestLocation[1465] : CGBitmapContextCreate: unsupported parameter combination: 5 integer ...
分类:
移动开发 时间:
2014-05-06 15:17:46
阅读次数:
769