Skip navigation
All Places > Support

Smack Support

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

Recent Activity

Anil Ghodake
Unable to understand why this error frequently comes on some android devices and app gets crash.     Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{.ChatMessageActivity}: java.lang.IllegalArgumentException: Must have a local (user) JID set. Either you didn't configure one or you where not connected at least… (Show more)
in Smack Support
Brian
I am new to XMPP, using Smack on Android. I started to look into XEP-313 to pull message archives from Open Fire (v4.0.2) to Android client. Was very pleased to see the recent efforts to add this to Smack 4.2 beta, so I switched from v4.1.7 to v4.2 beta (smack-nightly-SNAPSHOT-4.3-2016-08-04), however I am unable to pull message archives from Open… (Show more)
in Smack Support
tushar
First i run the 2nd user which executes fine but while running the 1st user i get the "refused cancelled error The peer did not find any of the provided stream mechanisms acceptable." error. How do i resolve it?    XmppTest : this is my 1st user for conversation.   package com.javacodegeeks.xmpp; import java.util.Scanner;   public class… (Show more)
in Smack Support
Amit Rai
Caused by: java.lang.NoClassDefFoundError: org.jivesoftware.smackx.disco.ServiceDiscoveryManager                                                                              at org.jivesoftware.smackx.bytestreams.socks5.Socks5BytestreamManager.enableServic e(Socks5BytestreamManager.java:709)… (Show more)
in Smack Support
Nitesh
How to add Roster and how to change their subscription in android using Smack Library??
in Smack Support
Sai Sarath
I have successfully created a multiuserchat group, but the user goes offline the user is removed from the group, and i want to have the history of messages to save for the user the next time he logs in. I found some approaches from previous and deduced as follows There are several old answers out there but none of them is based on new SMACK API… (Show more)
in Smack Support
_Nico
Hi everybody, is there any way to acknowledge the stanzas (messages) received by openfire manually? Now the acknowledgement of stanzas are performed in automatic way: REQUEST OF ACK SENT BY OPENFIRE: <r xmlns='urn:xmpp:sm:3' /> ACK SENT BY CLIENT: <a xmlns='urn:xmpp:sm:3' h='6'/> I need to sent the acknowledged stanzas after a specific job… (Show more)
in Smack Support
kkroid
Version : 4.1.3 Class : XMPPTCPConnection Method : sendSmAcknowledgement   Description:      When I try to override the sendSmAcknowledgement() method, I found it never been called.      Instead, you are calling sendSmAcknowledgementInternal().    But sendSmAcknowledgementInternal() is a private method which I cannot override it.      Can… (Show more)
in Smack Support
_Nico
Hello everybody, I discovered a really big problem (probably mine?) about the XMPP reconnection process in smack library v4.1.5 (Android) and openfire v4.0.1. I activated the stream management on the client in this way: XMPPTCPConnection.setUseStreamManagementDefault(true); XMPPTCPConnection.setUseStreamManagementResumptionDefault(true);and… (Show more)
in Smack Support
Umass
I am trying to create a connection using smack 4.1.8 as below...getting an exception..any help appreciated     import javax.net.ssl.SSLSocketFactory;   import org.jivesoftware.smack.AbstractXMPPConnection; import org.jivesoftware.smack.ConnectionConfiguration; import org.jivesoftware.smack.tcp.XMPPTCPConnection; import… (Show more)
in Smack Support
Load more items