上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: rootviewcontroller outlet什么视图可以出现在白色区域当它跳出来的时候,and it will embed that MVC's view inside its own view第一个视图嵌入到导航视图里顶部的标题栏,还是视图的一部分,,由 navigationview 控制着它将改变这个视图的边界,以适应struct and springs 因为当边界被缩小你要确保东西移动的位置在你要的地方上比如边缘的位置对不对,,是否拉伸设计好struct and spring 这样可以有不同的尺另一个视图就接管了,这个白色矩形区域一个叫segue的操作它的作用是push把新 阅读全文
posted @ 2012-11-10 15:18 顺武 阅读(153) 评论(0) 推荐(0) 编辑
摘要: uexWidget.getPushInfo()获取推送消息。Callback 方法opId操作id, 可忽略dataTypeuex.cText 值为0data返回的数据, 根据iphone平台的推送的特殊性,{aps:{alert:'你收到推送',“badge”:1,"sound":"sound.wav","userInfo":'接到的参数'}}uexWidget.cbGetPushInfo(opId,dataType,data)uexWidget.setPushNotifyCallback(inCal 阅读全文
posted @ 2012-11-07 15:39 顺武 阅读(457) 评论(0) 推荐(0) 编辑
摘要: AppCan数据统计分析自定义事件接口封装,需要配合平台网站使用uexDataAnalysis.setEvent(inEventId,inAttri)uexDataAnalysis.beginEvent(inEventId,inKeyWord,inAttri)uexDataAnalysis.endEvent(inEventId,inKeyWord)1、uexDataAnalysis.setEvent(inEventId,inAttri)自定义事件点击属性inEventId,从appCan平台申请的自定义事件的eventID,上报频率默认为启动上报,可以从网站配置上报策略inAttri:上报的一 阅读全文
posted @ 2012-11-07 14:21 顺武 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Native 插件机制,是批针对native开发者封闭将具有特定功能但是平台没有封闭的接口,封装成js调用native功能,然后通过js扩展接口调用,以达到功能扩展的目的。IOS SDK主要包括静态库,头文件,图片资源,js文件,插件配置xml,widget文件夹等1 引擎jar 包AppCanEngine_xxx.jsr本静态库是利用appcan平台扩展native plugin的基础。头文件包括以下五个WidgetOneDelegate.h 封装了uiApplicationDelegate 以及平台部份扩展需要的接口EUExBase.h 封闭用js调用native plugin 的你类,需 阅读全文
posted @ 2012-11-07 13:26 顺武 阅读(1363) 评论(0) 推荐(0) 编辑
摘要: appcan 平台生成的应用,可以理解为一个Widget包(android_iphone的“文件夹”),和一个Appcan平台中间件组成的。通常的情况下,一个应用是由一个Widget + Appcan构成, n个Widget +Appcan的机制呢,是针对主widget及普通widget的一种增加性的扩展机制,可以将具有特定功能的widget封闭成一个单独的widget包存放到plugin下,然后通过js扩展接口调用,以达到功能扩展的目的。 plugin目录下.appId作 为文件夹名称 目录结构类似, 插件调用StartWidget 接口可以实现widget和widget之间进行数据传输,. 阅读全文
posted @ 2012-11-06 17:54 顺武 阅读(1787) 评论(0) 推荐(0) 编辑
摘要: 引用JSSDK javascript 文件open.appcan.cn 申请appId js接口中会用到在你的html 网页的头部标签中引入js代码2 调用获得sessionKey的接口在js代码中先调用获得sessionKey的接口,保存好此值,其它接口会调用。。。TX.getSessionKey (appId, callback)appcan开放平台sessionKey参数说明 appId:对应的appcan开放平台应用的idCallback 回调函数返回json数据txSessionKey3 JS SDK 其他公开接口TX.doLogin(appId,txSessionKey)显示一.. 阅读全文
posted @ 2012-11-06 14:31 顺武 阅读(2726) 评论(0) 推荐(0) 编辑
摘要: creating the HTML5 for a gameLoading images and drawing on canvasSetting up your game's structureCreating an amimated backgroundlistening for user inputcapability-wise in a short amount of time , and many people believe inbrowser gaming will be one of the primary distribution mechanismas forgmae 阅读全文
posted @ 2012-11-06 08:50 顺武 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Maximizing Real Estatethe game takes up the full height and width of the available screen real estate.ADDING A LAUNCHERembeded with other content on the page, you may want to add a launcher step to your game when youwait for an action from the user before you start loading the gameincrease the viewa 阅读全文
posted @ 2012-10-25 09:14 顺武 阅读(196) 评论(0) 推荐(0) 编辑
摘要: jquery doesn't provide a lot of utility methods for other purposes.small library approximately 60 methods that can make your Javascript easier to understand and more compact.Accessing Underscoreunderscore character _function or object-oriented style_.isString(myVar)_(myVar).isString();the OO met 阅读全文
posted @ 2012-10-22 08:36 顺武 阅读(292) 评论(0) 推荐(0) 编辑
摘要: when you try to do multiple things at a time but can't be sure which one is going to get done first , the logic required can get a little hairy,requiring a number of state variablesor a bunch of nested callbacks, luckily, as of jQuery 1.5all jQuery Ajax methods return an object known as a Deferr 阅读全文
posted @ 2012-10-22 08:25 顺武 阅读(113) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页