Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What should be the JID for a user in OpenFire Server?

Hi I am new to this: I have set up an Openfire Server and using Spark IM to test it. But for Android application code what should be the JID for the user in session:

I have tried username@ip_address , username@ip_address/Smack , username@ip_address/Spark. Please see the image below and help:

enter image description here

What would be the solution for this .please help.

like image 646
Navdroid Avatar asked Jan 13 '14 14:01

Navdroid


1 Answers

JID is: username@xmpp-domain/Resource. The IP address of your Openfire host can be different to the XMPP Domain. You can see you XMPP Domain if you are in Openfire Web Interface under "Server Name". Resource can be everything, for e.g workstation, mobile or just customerXY.

like image 148
Roman S. Avatar answered Oct 29 '22 17:10

Roman S.