上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 98 下一页
摘要: {"id":"165","content":null},{"id":"166","content":null},{"id":"167","content":null},{"id":"168","content":null},{"id":"169","content":{"msg" 阅读全文
posted @ 2014-04-07 14:21 路在脚下, 阅读(192) 评论(0) 推荐(0) 编辑
摘要: if (info.state == kImage) { [self writeJPGToFile:info]; }我日,这是什么节奏, 阅读全文
posted @ 2014-04-07 13:31 路在脚下, 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 许久不见太阳底下万物颓废撑不开臃肿的眼皮狭窄的生活让你只剩器官实心的胃空心的嘴唯有沉默使人心安,然而连我的沉默都是滑稽那些空旷的意象定然来自人迹罕至的地方一个人必须被遗弃才能回到大地上然而连我的沉默都是滑稽笑声静止,却未停止盒子里人们竞相生长我又如何保住你的名字水,沼泽,青色的爪痕唯一可供饮用的,唯一可供模仿的,死亡是掐疼沼泽留下爪痕,盛放积水与哀鸣然而,连你的哀鸣都是动听我再也捡不起你丢掉的岸曾经像捡起一只空瓶或捏住一片蜻蜓ps:大多数人总是期待自己找到最好的,每得到一件东西就以自己心中最好的标准衡量,最后得到的只是失望。为之命名曰固定心态而有的人更在乎的是努力,他们知道一切都是不完美他们享 阅读全文
posted @ 2014-04-07 12:25 路在脚下, 阅读(154) 评论(0) 推荐(0) 编辑
摘要: + (int)amrToWav:(NSString*)_amrPath wavSavePath:(NSString*)_savePath{ if (! DecodeAMRFileToWAVEFile([_amrPath cStringUsingEncoding:NSASCIIStringEncoding], [_savePath cStringUsingEncoding:NSASCIIStringEncoding])) return 0; return 1;}+ (int)wavToAmr:(NSString*)_wavPath amrSavePath:(NSString*)_s... 阅读全文
posted @ 2014-04-07 11:05 路在脚下, 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 语音开始 还可以的,后来不行了,原来是因为这个 上传了 WAV,后来有转WAV, info.voice_localPathinfo.voice_networkPath [formData appendPartWithFileURL:[NSURLfileURLWithPath:info.voice_networkPath] name:@"voice.amr"fileName:@"voice.amr"mimeType:@""error:nil]; 阅读全文
posted @ 2014-04-07 10:30 路在脚下, 阅读(137) 评论(0) 推荐(0) 编辑
摘要: + (NSString*)getCacheDirectory{ NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); NSString *dir = [[paths objectAtIndex:0]stringByAppendingPathComponent:@"IMCache"]; if (![[NSFileManagerdefaultManager] fileExistsAtPath:dir]) { [[NSFileManagerde 阅读全文
posted @ 2014-04-05 16:22 路在脚下, 阅读(145) 评论(0) 推荐(0) 编辑
摘要: self.tableView.frame = CGRectMake(self.tableView.frame.origin.x, self.tableview.frame.origin.y +keyboardHeight, self.tableView.frame.size.width, self.tableView.frame.size.height); self.tableView.frame = CGRectMake(self.tableView.frame.origin.x, 44 - keyboardHeight, self.tableView.frame.size.width, . 阅读全文
posted @ 2014-04-05 12:33 路在脚下, 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-05 10:51 路在脚下, 阅读(122) 评论(0) 推荐(0) 编辑
摘要: if (info.pic_height > 100) { info.pic_width = (info.pic_width * 100) /info.pic_height; info.pic_height = 100; } if(info.pic_width > 100) { info.pic_height = (100*info.pic_height)/info.pic_width; info.pic_width = 100; } 阅读全文
posted @ 2014-04-04 16:40 路在脚下, 阅读(113) 评论(0) 推荐(0) 编辑
摘要: - (void)pushLocalNotification:(XMPPMessage *)message{ IMMessageInfo *info = [selfxmppMessageToChatMessage:message stateFlag:RECEIVE_SUCCESS]; UIApplication *application = [UIApplicationsharedApplication]; UILocalNotification *localNotif = [[UILocalNotificationalloc] init]; if (localNotif) { l... 阅读全文
posted @ 2014-04-04 14:57 路在脚下, 阅读(170) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 98 下一页