I passed 1 week trying to understand this sentence in the README:
"In order to work correctly on Android, you need to register Smack’s
XMPP Providers and Extensions manually and init some static code
blocks before you doing any XMPP activty. Calling
SmackAndroid.init(Context) (in org.jivesoftware.smack) will do this
I got this README from here: https://github.com/Flowdalic/asmack
Could someone please help with a step by step TUTORIAL that explains how to start with Asmack?
What do the authors mean by “context” how to set the value of it ?
The truth is that if you could give a simple working example I would be really greatful.
Here is my code but I think I’m not getting it: