Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.3k views
in Technique[技术] by (71.8m points)

How to make Chat Application in Android Using XMPP and GCM

I want to make a chat application using XMPP and GCM. but i didn't find some good tutorial or solution. I am using smack library for XMPP client and there are lots of jar files available. Please tell me which jar file should i use. And what is my next step. Please help me i am stuck from more then 2 weeks,

Thanks in advance.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

If you want to build a chat application using XMPP, you probably do not need GCM, since a server implementing XMPP would be sufficient for your needs (an XMPP server simply pushes messages, so why use GCM here?).

I have used Openfire as XMPP server and Smack for XMPP client to make a basic chat application. But you can find other open source (or paid) XMPP server implementations from this link

And yes, there are not much simple tutorials about that, but you can still find a lot of sample code and work your way around them. May it be easy.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...