MainActivity如下:
package cc.c;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
...
分类:
移动开发 时间:
2014-06-20 10:07:11
阅读次数:
265
MainActivity如下:
package cc.testnetworkchange;
import android.os.Bundle;
import android.app.Activity;
/**
* Demo描述:
* 利用广播监听设备网络连接的变化情况
* 亦可借此监测到设备是否已经断开网络
*/
public class MainActivity extends Act...
分类:
移动开发 时间:
2014-06-20 09:47:09
阅读次数:
334
本文转自:http://www.sulong.cc/article/program/aspx/110613114249.html#region
添加到购物车AddShoppingCar/// /// 添加到购物车AddShoppingCar/// /// 数量 如果存在产品 负数是减少 ///
正数...
分类:
Web程序 时间:
2014-06-11 22:06:37
阅读次数:
341
1, 安装nodejs安装python。2,安装node-gyp:sudo npm
install -g
node-gyp3,写代码:新建一个目录,创建hello.cc文件,然后创建binding.gyp文件:hello.cc#include#includeusingnamespace
v8;Han...
分类:
编程语言 时间:
2014-06-11 11:10:24
阅读次数:
380
个人觉得3.0里面, 在C++下面调用lua函数很不方便, 所以就扩展了一个类,
继承自LuaStack, 代码和使用方式如下:#ifndef __CC_LUA_STACKEX_H_#define
__CC_LUA_STACKEX_H_#include "CCLuaStack.h"NS_CC_BEG...
分类:
编程语言 时间:
2014-06-11 09:26:32
阅读次数:
324
脚本 d:\dot.ps1 内容如下:$hostwrite-host
"hh"$m="pp"$a ="cc"通过 . 方式运行脚本 dot.sp1,如下:. d:\dot.ps1之后,脚本 dot.ps1中的变量
$m,$a都可以继续使用
分类:
其他好文 时间:
2014-06-11 08:55:38
阅读次数:
241
//#include #pragma once#include
"cocos2d.h";#include "iconv\include\iconv.h"//#if (CC_TARGET_PLATFORM ==
CC_PLATFORM_WIN32) // 编译链接的时候指定静态库 //#pragm.....
分类:
其他好文 时间:
2014-06-05 19:25:43
阅读次数:
300
Programs for handling SQL commands. The "core" of
MySQL.These are the.cand.ccfiles in thesqldirectory:derror.cc --- read
language-dependent message fi...
分类:
数据库 时间:
2014-06-05 17:38:07
阅读次数:
362
感觉挺有用的一篇文章,分析了4种解决方案。回头测试之。如果有别的方案,我会在后面补上。原文地址:http://www.ifun.cc/blog/2014/02/21/dong-tai-ji-suan-uitableviewcellgao-du-xiang-jie/不知道大家有没有发现,在iOS
AP...
分类:
其他好文 时间:
2014-06-05 14:23:55
阅读次数:
348
ECMall模板开发文档前言欢迎阅读ECMall模板制作教程,通过阅读本教程可快速上手ECMall模板的使用和制作。ECMall模板制作要求用户具备XML、XHTML和CSS基础知识;至少掌握一种文本编辑器或网页制作工具(如:EditPlus,Dreamweaver,Textmate等);本教程还将...
分类:
其他好文 时间:
2014-06-05 13:45:48
阅读次数:
476