码迷,mamicode.com
首页 >  
搜索关键字:callback    ( 3205个结果
Android学习路线(十二)Activity生命周期——启动一个Activity
Unlike other programming paradigms in which apps are launched with a main()method, the Android system initiates code in an Activity instance by invoking specific callback methods that correspond to specific stages of its lifecycle. There is a sequence of c...
分类:移动开发   时间:2014-08-08 08:28:45    阅读次数:539
Tomcat Reading Notes
HTTP the client who initiates a transcation by establishing a connection and seding an HTTP request. ? the web server is in no position to contact a clinet or make a callback connection to the cl...
分类:其他好文   时间:2014-08-08 06:24:25    阅读次数:262
解决js获取数据跨域问题,jsonP
网上说了一些jsonp的示例,感觉都没用,最后研究了一下,调用腾讯的一个api。最后要加output=jsonp&callback=?这个,比较适用。 var url = "http://apis.map.qq.com/ws/place/v1/search?boundary=nearby(39.90...
分类:Web程序   时间:2014-08-07 18:19:00    阅读次数:220
jsonp 使用示例
客户端:服务器端:'xiaolou', 'Age'=>20 ); $jsonencode = json_encode($str); echo $_GET["jsonp_callback"]."(".$jsonencode.")";?>
分类:Web程序   时间:2014-08-07 17:56:50    阅读次数:213
Javascript Promise 学习
Promise 就是处理异步的一个规范方法a();b();alert("a");如果a() 里面有一个ajax 或者settimeout那么alert("a") 会先跑这就是异步了。从前我们用一堆callBack函数来解决问题,但是这样写不好看。promise 的写法美丽多了依据上面的例子a().t...
分类:编程语言   时间:2014-08-07 12:18:09    阅读次数:275
c++ timer基于win消息队列
能够承载10w个timer通信执行,说关闭就关闭,里面用了一个比較巧妙的线程处理,呵呵10W个timer就10多个线程,请大牛不要笑话,供新手学习之用#pragma once#include typedef void (CALLBACK* UXTIMERCALLBACK)(DWORD,void*);...
分类:编程语言   时间:2014-08-06 14:21:41    阅读次数:262
callback
What about the callback in Unigine?Any function from system, world or editor scripts can be called in a C++ code. UnigineScript functions that are cal...
分类:其他好文   时间:2014-08-06 01:28:50    阅读次数:313
关于TouchEvent中出现异常:MessageQueue-JNI问题
Tag:MessageQueue-JNIException dispatching input event.Exception in MessageQueue callback: handleReceiveCallbackjava.lang.NullPointerException原因是我在Touc...
分类:其他好文   时间:2014-08-05 22:30:00    阅读次数:315
Python functools.partial
def declare_consumer(self, consumer_cls, topic, callback): """Create a Consumer using the class that was passed in and add it to our...
分类:编程语言   时间:2014-08-05 15:26:59    阅读次数:291
jQuery插件---轻量级的弹出窗口wBox
Box DemowBox——轻量级的弹出窗口jQuery插件,基于jQuery1.4.2开发,主要实现弹出框的效果,并且加入了很多有趣的功能,比如可img灯箱效果,callback函数,显示隐藏层,Ajax页面,iframe嵌入页面……背景透明度可以根据实际情况进行调节,甚至不设置背景可以根据需要添...
分类:Web程序   时间:2014-08-05 13:45:19    阅读次数:206
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!