09 2015 档案

SDWebImageManager.m:244:22: Too many arguments to function call, expected 0,have 5
摘要:SDWebImageManager.m:244:22: Too many arguments to function call, expected 0,have 5选中项目 Build Settings 将ENABLE_STRICT_OBJC_MSGSEND设置为 NO 即可 阅读全文
posted @ 2015-09-29 11:36 decwang 阅读(240) 评论(0) 推荐(0)
iOS9 URL Schema 白名单 微信
摘要:近期苹果公司iOS 9系统策略更新,限制了http协议的访问,此外应用需要在“Info.plist”中将要使用的URL Schemes列为白名单,才可正常检查其他应用是否安装。 受此影响,当你的应用在iOS 9中需要使用微信SDK的相关能力(分享、收藏、支付、登录等)时,需要在“Info.plis... 阅读全文
posted @ 2015-09-28 18:19 decwang 阅读(709) 评论(0) 推荐(0)
This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.
摘要:1 2015-09-28 17:32:03.098 天天送[2079:1664555] This application is modifying the autolayout engine from a background thread, which can lead to engine co... 阅读全文
posted @ 2015-09-28 18:06 decwang 阅读(1164) 评论(2) 推荐(0)
must implement the inherited abstract method
摘要:The type VideoView must implement the inherited abstract method MediaController.MediaPlayerControl.getAudioSessionId() VideoView.java使用以前开发的代码调试小视频功能,... 阅读全文
posted @ 2015-09-22 08:45 decwang 阅读(670) 评论(0) 推荐(0)
must implement the inherited abstract method
摘要:The type VideoView must implement the inherited abstract method MediaController.MediaPlayerControl.getAudioSessionId() VideoView.java使用以前开发的代码调试小视频功能,... 阅读全文
posted @ 2015-09-22 08:45 decwang 阅读(400) 评论(0) 推荐(0)
413 Request Entity Too Large
摘要:做小视频上传,结果接口总是返回500,服务器端跟踪,根本就进不来,再次翻查,发下服务器返回的其实是413,只不过APP底层接口将所有不是200的回包都转成500了,问题定位.有了错误码,有了描述,字面意思应该就是上传的包体过大导致的,放狗搜._bytes char * "\r\n413 Reques... 阅读全文
posted @ 2015-09-21 13:37 decwang 阅读(896) 评论(0) 推荐(0)
小米3手机上加载相册图片失败的问题
摘要:机型小米3W,ROM4.4.4废话不多说,在加载相册图片时报了这样一个错误09-16 12:26:53.270: W/OpenGLRenderer(21987): Bitmap too large to be uploaded into a texture (4208x2368, max=4096x... 阅读全文
posted @ 2015-09-16 13:36 decwang 阅读(1170) 评论(0) 推荐(0)
iOS 9正式版开始推送 升级机型非常广泛
摘要:北京时间今日零时,苹果正式推送了iOS9,对于iPhone和iPad来说这一版系统升级都有很多重要改进,而升级的机型也非常宽泛,甚至连2011年的iPad 2与iPhone 4s都获得了支持,所以广大苹果用户不要错过了。按照苹果公布的信息显示,可升级iOS9的iPhone共有8款,其中最老的是在20... 阅读全文
posted @ 2015-09-16 10:38 decwang 阅读(181) 评论(0) 推荐(0)
dataWithContentsOfURL报错问题
摘要:1 NSError *error = nil; 2 NSData* videoData = [NSData dataWithContentsOfURL:[NSURL URLWithString:self.recordFilePath] options:0 error:&error]; 3 ... 阅读全文
posted @ 2015-09-15 14:04 decwang 阅读(1007) 评论(0) 推荐(0)
Android double输出时保留两位小数
摘要:方法1,在代码中操作this.totalTextview = (TextView) findViewById(R.id.package_total_money); double decimalBalance = Math.round((balance/10f))/100f; DecimalF... 阅读全文
posted @ 2015-09-15 09:31 decwang 阅读(2638) 评论(0) 推荐(0)
cornerstone忽略显示.DS_Store文件
摘要:在MacOS上使用svn工具时,经常发现变化列表里出现一堆的?文件,.DS_Store,对有强迫症的人来说很郁闷.处理起来很简单,就是在svn的配置里忽略这个文件.#ue ~/.subversion/config把你想要忽略的文件名,或者后缀,追加到后面(以空格分割),清净了许多,再看svn也不会因... 阅读全文
posted @ 2015-09-09 18:26 decwang 阅读(1007) 评论(0) 推荐(0)
Couldn't open file on client side, trying server side 错误解决
摘要:09-09 09:43:21.651: D/MediaPlayer(3340): Couldn't open file on client side, trying server side09-09 09:43:21.661: E/MediaPlayer(3340): attachNewPlayer... 阅读全文
posted @ 2015-09-09 11:03 decwang 阅读(1157) 评论(0) 推荐(1)
@SuppressWarnings有什么用处?
摘要:J2SE 提供的最后一个批注是 @SuppressWarnings。该批注的作用是给编译器一条指令,告诉它对被批注的代码元素内部的某些警告保持静默。 @SuppressWarnings 批注允许您选择性地取消特定代码段(即,类或方法)中的警告。其中的想法是当您看到警告时,您将调查它,如果您确定它不是... 阅读全文
posted @ 2015-09-09 10:04 decwang 阅读(348) 评论(0) 推荐(0)