摘要: ConnectionConfiguration config = null;config = new ConnectionConfiguration(loginServer, 5222);XMPPConnection connection = new XMPPConnection(config);c... 阅读全文
posted @ 2015-08-19 17:22 feimeng0530 阅读(125) 评论(0) 推荐(0) 编辑
摘要: ConnectionConfiguration config; config = new ConnectionConfiguration(serverName, 5222); connection = new XMPPConnection(config); ... 阅读全文
posted @ 2015-08-19 17:16 feimeng0530 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 源码:https://github.com/feimengwang/lottery 这个App其实2年前就写好了,那时候是抓取的网页里面的内容,也没有用第三方开源框架,写的也比较乱,最近没事的时候发现360有接口,返回JSON数据,所以重写了一次,这次也有很多不足,正在修正中。。。。 用到的第三方库 阅读全文
posted @ 2016-03-30 14:45 feimeng0530 阅读(390) 评论(1) 推荐(1) 编辑
摘要: REST简介 转载于http://www.cnblogs.com/loveis715/p/4669091.html 一说到REST,我想大家的第一反应就是“啊,就是那种前后台通信方式。”但是在要求详细讲述它所提出的各个约束,以及如何开始搭建REST服务时,却很少有人能够清晰地说出它到底是什么,需要... 阅读全文
posted @ 2015-07-24 14:31 feimeng0530 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Value Description Reference 100 Continue [RFC7231, Section 6.2.1] 101 Switching Pr... 阅读全文
posted @ 2015-07-24 13:54 feimeng0530 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 测试 ScribeFire Blog Editor 阅读全文
posted @ 2015-04-29 13:54 feimeng0530 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 系统找不到指定的文件 C:\WINDOWS\system32\\mstsc.exe.MUI本文只适合Win7 X64其实方法很简单,安装以下两个补丁即可,但因为摆渡不到,所以记录下来更需要的朋友参考。Windows6.1-KB2574819-x64.msuhttp://www.microsoft.c... 阅读全文
posted @ 2014-10-17 04:33 feimeng0530 阅读(2863) 评论(0) 推荐(0) 编辑
摘要: 1、在SDK Manager下Tools->Options打开了SDK Manager的Settings,选中“Force https://… sources to be fetched using http://…”,强制使用http协议。 2、修改host文件,添加下面两行 #google_a... 阅读全文
posted @ 2014-09-27 08:05 feimeng0530 阅读(205) 评论(0) 推荐(0) 编辑
摘要: String line = System.getProperty("line.separator"); 阅读全文
posted @ 2014-09-25 17:07 feimeng0530 阅读(413) 评论(0) 推荐(0) 编辑
摘要: cron是unix或者linux下用来定时任务的命令,大致的用法如下:1、服务的启动和关闭/sbin/service crond start //启动服务/sbin/service crond stop //关闭服务/sbin/service crond restart //重启服务/sbin/se... 阅读全文
posted @ 2014-09-18 14:58 feimeng0530 阅读(246) 评论(0) 推荐(0) 编辑