11 2012 档案
native的Socket向Android的LocalSocketServer发送汉字乱码的问题
摘要:native的Socket发送字节流默认是GB2312的,所以在Java方面需要指定GB2312byte[] buffer = new byte[50];StringBuffer strBuf = new StringBuffer();InputStream input = receiver.getInputStream();while((len = input.read(buffer)) != -1) { String newStr = new String(buffer, 0, len, "GB2312"); strBuf.append(newStr);}referen 阅读全文
posted @ 2012-11-19 14:23 GloriousOnion 阅读(861) 评论(0) 推荐(0)
删除linux后无法启动windows的解决办法
摘要:转自[http://hi.baidu.com/chenliangzzu/item/fe14ac060efe346bd45a11dd]出于学习的需要在原来windows的基础上安装了linux 系统。。昨天想把linux系统删掉。。直接把linux系统所在盘格式化了,结果再次启动的时候就进不去windows系统了出现以下情况:GNU GRUB VERSION 0.95 (638Klower/195520K upper momory) [Minimal BASH-like line editing is supported.For the first word,TAB lists possibbl 阅读全文
posted @ 2012-11-13 20:12 GloriousOnion 阅读(3778) 评论(0) 推荐(0)
live555的liveMedia类关系图
摘要:初次接触live555,见到这么多类还是挺不适应的,幸好有位前辈总结了类关系的图(原文链接http://blog.csdn.net/huangxinfeng/article/details/5374721):Medium RTSPServer RTSPOverHTTPServer MediaSession ServerMediaSession ServerMediaSubsession OnDemandServerMediaSubsession FileServerMediaSubsession ADTSAudioFileServerMediaSub... 阅读全文
posted @ 2012-11-01 15:29 GloriousOnion 阅读(1128) 评论(0) 推荐(0)