Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XMPP server connection for javascript code for PhoneGap

How to make chat application, using XMPP server in PhoneGap. I dont khow to how to make BOSH_SERVICE url for XMPP connection, please give me sample working demo about chat app for PhoneGap code.

Thanks!

like image 266
user2811424 Avatar asked Oct 20 '22 22:10

user2811424


1 Answers

Take a look at Candy.JS an out of the box chat client which makes use of the Strophe.js Library:

http://candy-chat.github.io/candy/

It's actually very easy to put your own client together using Strophe alone but I would recommend learning by example and giving candy a once over.

like image 129
backdesk Avatar answered Nov 14 '22 22:11

backdesk