码迷,mamicode.com
首页 >  
搜索关键字:cannot call method g    ( 28012个结果
cdh4.1.2 hadoop和oozie集成问题
1.异常信息例如以下: Caused by: com.google.protobuf.ServiceException: java.net.ConnectException: Call From slave4/10.95.3.65 to 0.0.0.0:10020 failed on connect...
分类:其他好文   时间:2014-06-27 18:58:32    阅读次数:280
关闭对话框,OnClose和OnCancel
我们知道,在对话框中,屏蔽ESC键自己主动退出能够选择重载OnCancel为哑函数的方法: void CXXXXDlg::OnCancel() { // TODO: Add your specialized code here and/or call the base class //CD...
分类:其他好文   时间:2014-06-27 18:46:41    阅读次数:204
ios - cannot assign to 'self' outside of a method in the init family
今天重写 -(id) initwithId:(NSInteger *)word_id word:(NSString *)word detail:(NSString *)detail方法时不注意将init后面的第一个字母写成了小写,在这个方法里面又调用父类的初始化方法(self = [super in...
分类:移动开发   时间:2014-06-26 15:17:17    阅读次数:638
ruby简单的基础 6
模块模块同类一样,也有 class method 和 instance method。module 没有new不能生成实例对象其中 class method 在模块中称为模块方法,是可以直接调用的。module Foo def self.hello puts 'hello world!' end def Foo.dear #module全局作用域内的self还是没有变,就是...
分类:其他好文   时间:2014-06-26 14:19:28    阅读次数:163
Android工程中加入图片,报错cannot be resolved or is not a field
SDK和ADT为22.6.2版本 工程为4.4.2 今天在写Android代码的时候,往工程中加入了几张图片,然后在代码中使用R.drawable调用时,一直报错 cannot be resolved or is not a field 然后我查看了gen目录下的R.java文件,发现里面已经有我加入的图片资源ID了,觉得很奇怪,一般是无法生成R.java文件的时候才会出现这种现象啊 在网...
分类:移动开发   时间:2014-06-26 11:34:21    阅读次数:246
开源html5_kiwijs_helloworld
本次需要的下载文件已经共享出来 网盘地址 因为我使用的是黑苹果系统, window我就无视了。 开发工具使用 网盘里的 dmg :Sublime Text 打开开发工具后在helloworld中找到  myState.update = function(){Kiwi.State.prototype.update.call(this);}; 不修改是看不到 旋转效果的。...
分类:Web程序   时间:2014-06-26 11:32:28    阅读次数:421
深入理解 Java HelloWorld
Java 的 Hello World 代码 public class HelloWorld { /** * * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Syst...
分类:编程语言   时间:2014-06-26 10:21:19    阅读次数:274
MAC COCOA call command 调用终端控制台程序
MAC COCOA call command 调用终端控制台程序 STEP 1  先写一个C++ DOS程序 STEP2 使用NSTask来执行,然后用NSPipe和 NSData来接受执行的结果字符串。 先写一个函数: /******************************* Function : NSTask Class + Terminal(=Windows Co...
分类:其他好文   时间:2014-06-26 10:17:56    阅读次数:212
CrtmpServer支持Android与IOS进行RTMP直播遇到的_checkbw问题
在进行移动端视频直播项目时遇到的问题,手机端在推的流时的是没问题的,主要现在是IOS和安卓连接CRtmpServer后进行播放时checkBW过不了,出现异常:NetConnection.Call.Failed,但连FMS服务器时能正常播放,由于用的是VLC的库,是封装好的,确定不了是哪个环节出了问题,以下是安卓与IOS开发报出来的异常截图。...
分类:移动开发   时间:2014-06-26 07:27:15    阅读次数:650
自学ios:second day Objective-C
oc是c的超集,从c扩展而来,具备面向对象的特性,比如类,消息,单继承。c的部分:数据类型:short,int,long,float,double,char,pointer,struct常用方法:readline()atoi()sizeof()malloc()oc的部分:receiver:classNameOrObjectselector:method消息的传递通过[recei..
分类:移动开发   时间:2014-06-26 06:39:56    阅读次数:305
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!