@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == RESULT_OK) {
switch (requestC...
分类:
移动开发 时间:
2014-12-24 11:52:24
阅读次数:
233
public class EyeView extends FrameLayout {
private Paint paint;
private Bitmap bitmap;
public EyeView(Context context) {
super(context);
init();
}
public EyeView...
分类:
微信 时间:
2014-12-23 21:18:01
阅读次数:
488
public class ParamButton extends Button
{
// com.ts.factoryset.ParamButton
private int mParam;
public ParamButton(Context context)
{
super(context);
}
public ParamButton(Context contex...
分类:
移动开发 时间:
2014-12-23 19:30:00
阅读次数:
166
摘要:国产手机一直都有山寨手机的影子,iPhone 6 发布之后,国产手机就开始了新的模式。
尼采Super 6:依然耿直
就是这样的尼采,从来在抄袭,从来没超越的尼采;从iPhone 4就开始抄袭,从iPhone 4时代就抢占了乡镇手机营运市场的尼采。不过尼采相较别的厂商还是很“耿直”的,人家就是“做自己”,就是采用了那句“比逼格更逼格”的宣传语,就是这么任性!
小霸王X7:重视用户体...
分类:
其他好文 时间:
2014-12-23 15:34:38
阅读次数:
128
创建一个菜单字
var startScene =cc.Scene.extend({
//判断游戏是否已经开始
is_Start : false,
//创建构造函数
ctor :function(){
//初始化父类中的构造函数
this._super();
//写一个laebl型的菜单
//var label= new cc.LabelTTF...
分类:
Web程序 时间:
2014-12-23 12:25:11
阅读次数:
165
常见移动设备尺寸对照系统类型设备名称长*宽device pixel ratioiosiphone4320 * 4802iphone5 320 * 5682iphone6375 * 6672iphone6 plus414 * 7363androidhtc evo,touch HD desire,de....
分类:
移动开发 时间:
2014-12-23 12:05:03
阅读次数:
136
- (void)viewDidLoad{ [super viewDidLoad]; _scrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 66, 320, 480)]; //中间还有其他控件 ...
分类:
Web程序 时间:
2014-12-23 10:21:54
阅读次数:
220
题目意思:
http://acm.hdu.edu.cn/showproblem.php?pid=1087
此题的意思求最长上升子序列的和。
题目分析:
在求最长上升子序列的时候,不在保存最长的个数,而是保存他们的和即可。
AC代码:
/**
*最长上升子序列问题+保存得到的分数
*/
#include
#include
#include
#include
#...
分类:
其他好文 时间:
2014-12-22 19:37:21
阅读次数:
171
FF !importantIE \9IE8 \0IE7 +chrome@media screen and (-webkit-min-device-pixel-ratio:0){}firefox 下style=“display:“” ”正常style=“display:”“none” 不正常FF 下不...
分类:
Web程序 时间:
2014-12-22 12:49:17
阅读次数:
204
下例为:监听文本框 accountField 内容的改变, 当发生改变时, 调用textChange方法(多次)。监听结束需要移除通知。- (void)viewDidLoad{ [super viewDidLoad]; // 1.监听通知 [[NSNotificationC...
分类:
移动开发 时间:
2014-12-21 21:53:13
阅读次数:
272