Skip navigation
All Places > Support

Smack Support

Log in to follow, share, and participate in this community. Not a member? Join Now!

Recent Activity

demirhan
Hi, I'm using smack 4.1.9 I simply want to know if my message successfully send to xmpp server or failed. I send message with this code try {      chat.sendMessage(message); } catch (SmackException.NotConnectedException e) {      e.printStackTrace(); }   I am cathcing only if I am connected to server. How can I listen server if my… (Show more)
in Smack Support
Shahin
Hi everybody, I am using smack 4.1.9 in my server-side application in order to log in to openfire server behind the scene. Then I need to send RID and SID to my client-side application to be used in strophe.js library for pre-binding.   I can log in to openfire(on the server-side) via Smack successfully, but how can I get access to SID and… (Show more)
in Smack Support
Mert Caliskan
Can I create a XMPPTCPConnection by providing an instance of XMPPTCPConnectionConfiguration and share it across my threads? Or should I create connection per thread?
in Smack Support
Frizz
Question: Is the dependency to Declarative Services really necessary?   In smack-extensions\src\main\resources\org.jivesoftware.smackx\smack-extensions-co mponents.xml is the following: <scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.2.0"     enabled="true" immediate="true" name="Smack Extensions API">     <implementation        … (Show more)
in Smack Support
nsaoly
Hello All,   I am using SMACK on Android with ejabberd as the backend. After upgrade to 6.0 my app is not working as when in deep sleep mode data connection is blocked by android causing message delay. I read about this on web and found using GCM for the same. I wanted to check in the community is there any other way apart from GCM to get… (Show more)
in Smack Support
Grigory Fedorov
Hello! Sometimes I got IllegalStateException in RecursiveDNSClient using Smack 4.2.0-beta3-SNAPSHOT I think I was not detectead earlier.   Fatal Exception: java.lang.IllegalStateException        at java.util.ArrayList$Itr.remove(ArrayList.java:844)        at de.measite.minidns.recursive.RecursiveDNSClient.queryRecursive(RecursiveDNSClie… (Show more)
in Smack Support
Daniel Oliveira
I making a android chat app. Im use the api level 23, the Xmpp Smack lib version 4.1.8, and on server I use ejabberd, version 16.06. I use this code to build a XMPP connection.   (TIMEOUT = 5000)          private void buildConnection() {        XMPPTCPConnectionConfiguration.Builder builder = XMPPTCPConnectionConfiguration.builder()… (Show more)
in Smack Support
rinat
I need to send "custom IQ request". Sample IQ request:    <iq xmlns='xep:history' from='#username@#serverchathost'  id='#id' to=’#serverchathost' type='recents'></iq> I use smack 4.2.0-beta2 for Android. How to do it?  
in Smack Support
Mochammad Irsyad
can i send message to Node without use payloadItem function?   I use Ejabberd Server 16.06 and Smack 4.1.4
in Smack Support
Viktor
Hello,   XMPPTCPConnectionConfiguration.Builder configBuilder = XMPPTCPConnectionConfiguration.builder(); configBuilder.setUsernameAndPassword("user", "user"); configBuilder.setHost("localhost"); configBuilder.setPort(5222);   AbstractXMPPConnection connection = new XMPPTCPConnection(configBuilder.build()); connection.connect();… (Show more)
in Smack Support
Load more items