安装jdk版本为1.6.0_12一。下载jdk下载地址:http://download.java.net/jdk6/选择Linux Platform jdk-6u12-linux-i586.bin 将该下载包拷贝到/usr/local下(随意了,找个地方就好)oracle收购了java:http:/...
分类:
系统相关 时间:
2014-06-18 22:29:05
阅读次数:
454
local pos = ccp(10, 10)local sprite=display.newSprite("02.png") //创建一个精灵sprite:setPosition(ccp(10,10))self:addChild(sprite) if sprite:getBound...
分类:
其他好文 时间:
2014-06-18 22:02:41
阅读次数:
198
定时器local sharedScheduler = CCDirector:sharedDirector():getScheduler() --自定义函数 i=1 function prForHimi() -- cocos2d.CCLuaLog("reFresh...
分类:
其他好文 时间:
2014-06-18 22:02:00
阅读次数:
204
-----------------------------------------------------------------------------------------------class='lazy' 载入样式,data-original指向图片地址底部引入jQuery和jQuery....
分类:
Web程序 时间:
2014-06-18 22:01:22
阅读次数:
539
local function onTouchBegan(x, y) 层单击事件end local function onTouchMoved(x, y) end local function onTouchEnded(x, y) print("哈哈哈") endlocal function...
分类:
其他好文 时间:
2014-06-18 22:00:39
阅读次数:
235
--滚动条 labar local function valueChanged(strEventName,pSender) if nil == pSender then return end ...
分类:
其他好文 时间:
2014-06-18 22:00:01
阅读次数:
332
1.引用命名空间xmlns:Primitives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Data"xmlns:data="clr-namespace:System.Wind...
分类:
Web程序 时间:
2014-06-18 21:57:23
阅读次数:
273
#include typedef GLfloat point2d[2]; // a point data type void triangle( point2d a, point2d b, point2d c) // display a triangle { glBegin(GL_TRIANGLES...
分类:
其他好文 时间:
2014-06-18 21:02:32
阅读次数:
334
自己统计流量的话 需要判断是3G访问还是WIFI访问用 NSURLProtocol自定义一个这个累计DATA就是下行流量#include #include #include #include BOOL success; struct ifaddrs *addrs; const struc...
分类:
移动开发 时间:
2014-06-18 20:51:23
阅读次数:
323
(1) cv::Mat -> QImageOpenCV存储图片默认使用BGR顺序,而QImage使用RGB顺序,所以需要用cvtColor转换一下。使用QImage如下构造函数:QImage(uchar * data, int width, int height, Format format)QIm...
分类:
其他好文 时间:
2014-06-18 20:26:20
阅读次数:
202