看了下及时通信,要有openfire smack支持,所以先走第一步,看openfire;
1.最新源码下载地址: http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_src_3_8_2.zip
2.将源码导入eclipse: http://blog.csdn.net/maple1320/article/details/16356477
3.我的eclipse是google专门开发android的Adt-buddle,导入会有红叉,第一种情况提示:文件已存在,直接将相关红叉的包删掉;第二种提示:未实现相关方法,未捕捉相关异常,直接双击红叉自动修正就ok;
4.用ant编译(具体方法见: http://blog.csdn.net/maple1320/article/details/16356477),然后配置run运行,在浏览器中输入ip,提示错误:
![](https://img-blog.csdn.net/20131123230434406?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvcXVhbmppbjI0aw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)
6.再运行,还报错,要将文件迁移位置:
把 admin-sidebar.xml和openfire_i18n_en.properties放到bin目录下
1.最新源码下载地址: http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_src_3_8_2.zip
2.将源码导入eclipse: http://blog.csdn.net/maple1320/article/details/16356477
3.我的eclipse是google专门开发android的Adt-buddle,导入会有红叉,第一种情况提示:文件已存在,直接将相关红叉的包删掉;第二种提示:未实现相关方法,未捕捉相关异常,直接双击红叉自动修正就ok;
4.用ant编译(具体方法见: http://blog.csdn.net/maple1320/article/details/16356477),然后配置run运行,在浏览器中输入ip,提示错误:
HTTP ERROR 500
Problem accessing /setup/index.jsp. Reason:
Server Error5.下载相关jar包: http://download.csdn.net/download/kingsonl/4419275引用到工程里;
6.再运行,还报错,要将文件迁移位置:
把 admin-sidebar.xml和openfire_i18n_en.properties放到bin目录下
7.再运行-成功:浏览器输入ip 出现设置界面;不过要有数据库支持,我就没继续,先到这里。
参考博客:
http://blog.csdn.net/destruction666/article/details/8267281
http://ljhmustang.blog.163.com/blog/static/421754472010102684111520/
http://community.igniterealtime.org/thread/38827