摘要:
使用Curl命令Post XML如下:XML文件 [代码]echo '<getProfile><account>foo@CMCC</account></getProfile>' | curl -X POST -H 'Content-type: text/xml' -d @- http://119.145.0.78:8082/jil?op=GETPRO... 阅读全文
阅读排行榜
Convert Resid to Drawable
2010-11-18 20:18 by cppguy, 467 阅读, 收藏,
摘要:
this.getResources().getDrawabel(R.drawable.x) 阅读全文
Nutch最近的邮件列表
2006-10-12 17:38 by cppguy, 457 阅读, 收藏,
摘要:
一: 问:我在linux(FC3)上安装了Nutch 0.8.1,虚拟机环境是:java 1.5.0_07.当我运行crawl命令的时候,出现了以下错误: 2006-10-11 15:39:16,234 FATAL api.RobotRulesParser - Agent we advertise(null) not listed first in 'http.robots.agents' pro... 阅读全文
RGB
2011-07-13 22:06 by cppguy, 456 阅读, 收藏,
摘要:
A R G B透明度 红色 绿色 蓝色Bitmap.ConfigARGB_4444 每个像素占四位Bitmap.ConfigARGB_8888 32 每个像素占八位Bitmap.ConfigRGB_565 16 R占5位 R 占6位 B占5位 没有透明度(A)其实很简单嘛就跟doublefloat一样 你越到精度也就越到但是一点主意点一半情况下我们都是用argb888 但是无可厚非它也相对的很占内存因为一个像素32位8位一个字节 如果是800*480的图片的话自己算估计有1M多了所以各位使用的时候悠着点 因为作为应用开发人员你使用的内存是有限的 阅读全文
单件,让类就一个实例
2008-01-23 17:12 by cppguy, 417 阅读, 收藏,
摘要:
//单件类public class SingleTonHolder<T> where T : new(){ private static T instance; private static bool destory; //用户管理永生件 private static bool disposed = false; public static bool Disposed { get {... 阅读全文
浙公网安备 33010602011771号