smack Questions

2

Solved

I tried to set online mode but it doesn't work through a Roster. I ran this code and check my localhost server, the mode still "available" and not "Do not disturb". final Connection connection = n...
Stipe asked 18/12, 2012 at 8:57

3

Solved

i start openFire and test it with spark everything is ok but when i try to connect with smack 4.2.0 in android studio i got this error: Ljavax/naming/directory/InitialDirContext; and my dependenc...
Agrostology asked 31/3, 2017 at 14:36

6

Solved

I am using aSmack library to communicate with remote xmpp server. I am able to send/receive messages, but I want to get timestamp of incoming message. Could you tell me please, is it possible at a...
Contribution asked 21/6, 2012 at 12:54

5

Solved

I have changed my app to use Smack 4.2 replacing Smack 4.1 But I'm getting an error in the config.setServiceName(); The parameter to this method has been changed from String to DomainBareJid. I d...
Deweydewhirst asked 28/3, 2015 at 8:48

3

Solved

I have an application that has a TableView that has an attached listener so it refreshes as soon as it detects a change, but the thing is that I´m getting java.lang.IllegalStateException: Not on FX...
Upperclassman asked 25/7, 2013 at 6:1

4

Solved

Hi I am working on ejabberd and I am quite new to this technology. I am trying to add a user on my ejabberd server using this code: try { conf.setSASLAuthenticationEnabled(true); connection...
Woodberry asked 15/6, 2013 at 16:0

9

Solved

I have set up a xmpp server and android client using the great post here... I have some pre defined users set up in the xmpp server and i could login with those credentials. Now, from my app i wan...
Foxed asked 18/12, 2010 at 5:59

1

I'm trying to fetch member list using getMembers() but I'm getting 'error-code: 403, forbidden-auth' the user which is trying to get a member list has is a member of a group but I if I do the same ...
Iceni asked 26/4, 2018 at 6:57

2

Solved

I've created a login connection succesfully for XMPP with Smack Api(4.1.4). Now i'm trying to create MultiUserChat using, try { String myMUCName = "TestGroup"; String myMUCService = "conference...
Restate asked 17/6, 2016 at 7:25

1

Solved

I am facing problem for create persistence room and MUC, Not able to send room configuration form. Values i send that are not set to form fields and default values are send to server.
Andryc asked 31/12, 2019 at 6:1

3

Solved

I am trying to connect to gmail using SMACK API through XMPP server. but getting the error : SASL authentication failed using mechanism PLAIN you can check a glimpse of code. I got it from ne...
Multistage asked 17/9, 2010 at 9:20

2

Solved

I am using the smack library (4.1.2) in my Android app to connect to an XMPP server. It runs perfectly well when the code is NOT minified (ie with proguard). But in release mode, with proguard enab...
Palumbo asked 1/7, 2015 at 9:31

7

Solved

Which XMPP library would be the best choice nowadays for Android development? I've been using the patched Smack library as is suggested in many other questions here in SO. However, that's a...
Avigdor asked 22/1, 2011 at 16:27

5

Solved

After installing Open Archive plugin in the Openfire server I can see the chat conversation between two user from the openfire admin panel which is pretty easy and that is web based too. Now I want...
Ciri asked 21/6, 2015 at 6:0

5

Solved

I am trying to shift my app from aSmack to Smack 4.1.1. However I am having trouble using the same server and login details in the case of Smack while on aSmack it is working excellently. Here's m...
Rectory asked 21/5, 2015 at 16:1

3

Solved

Ok guys, simple question but pretty important to me. so, other android client are sending this xml msg: <message id='6ymdM-19' to='[email protected]/smack' type='chat'> <subject...
Oho asked 23/3, 2012 at 10:57

3

Solved

I'm a newbie to XMPP so forgive me if this question sounds silly. I want to create a custom plugin and map it with my aSmack client on Android. I'm trying to apply my knowledge of Web Services but ...
Radiotelegraph asked 22/6, 2016 at 10:30

3

Solved

I have this code, almost unmodified from examples: UserSearchManager usm = new UserSearchManager(conn); Form searchForm = usm.getSearchForm("search.myserver.com"); Form answerForm = searchForm....
Bogoch asked 6/5, 2011 at 10:43

3

Solved

I'm using Smack to develop an internal dashboard in Java/Spark that would start a Google Talk conference between a LDAP user group. When I run MultiUserChat.isServiceEnabled(connection, "[email&#1...
Cowbird asked 15/2, 2013 at 21:34

0

I'm developing an instant messaging app on android with SMACK library that uses OPENFIRE as a xmpp server. I want to get last message of each conversation from MessageArchiveManager in openfire ser...
Middelburg asked 10/6, 2018 at 9:21

2

I am developing a Chat application in which I have a background service that is continuously running. The Application is running smoothly and I am able to receive and send messages without any is...
Griego asked 12/5, 2015 at 6:4

6

I use asmack-android-7-beem library for Android. I have a background service running, such as my app stays alive. But sooner or later XMPP connection dies without any notice. The server says that t...
Champion asked 26/10, 2012 at 4:1

1

How to get offline message in PubSub? Using the Smack library. after searching I found an answer which looks like this: // Create a pubsub manager using an existing XMPPConnection PubSubManager mg...
Antoninaantonino asked 28/9, 2017 at 11:16

0

I want to get the offline message, I'm using pubsub and I have added addItemEventListener on a node but when the user gets online then the user gets a message in stanza, not in the event listener's...
Stpierre asked 3/10, 2017 at 7:30

5

i'm using smack 3.1.0, and when i add a roster,i can't get subscription "both". who can help me? below is my code: Roster.setDefaultSubscriptionMode(Roster.SubscriptionMode.accept_all); Roster ros...
Ichthyosis asked 27/4, 2011 at 10:27

© 2022 - 2024 — McMap. All rights reserved.