Questions tagged [xmpp]

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data.

XMPP (Extensible Messaging and Presence Protocol) is an open, standard protocol for near-real-time exchange of XML-structured data. The protocol is commonly used in instant messaging (IM) applications, but can be used to exchange any kind of data. It can also be leveraged for multi-user chat, collaboration, voice and video, message-oriented middleware, and many other applications.

XMPP works by initiating a bidirectional XML stream between two entities. The stream is used to transport XMPP stanzas, which are small, well-defined blocks of XML.

An overview of XMPP protocol is available at https://xmpp.org/about/technology-overview.html

There are various XMPP servers available to use. For more comprehensive lists of server, client implementations as well as XMPP libraries, visit xmpp.org.

5941 questions
2
votes
2 answers

Error loading vCard information using Smack: "EmptyResultIQ cannot be cast to org.jivesoftware.smackx.vcardtemp.packet.VCard"

I am creating an android chat application using smack 4.1.1 I could load users vcard on my local test server (Openfire). But now on ejabberd server when i try to load the vcard, I get the following error: 07-19 11:11:26.175: E/AndroidRuntime(13849):…
SMahdiS
  • 930
  • 13
  • 33
2
votes
1 answer

Retrieve messages on Page load Strophe js

I am trying to retrieve the messages whenever Uses logs in and the page loads. Right now I can able to retrieve the messages whenever the User sends the message to other User i.e., with the onMessage function. Here is my code: var archive = []; //…
Yashwanth Babu
  • 919
  • 9
  • 30
2
votes
1 answer

Can't send chat message using QuickBlox Javascript SDK

I'm using the QuickBlox Javascript SDK. This is the code I'm using to send a message to chat room: var msg = { type: 'chat', body: $scope.new_chat_message.msg, extension: { save_to_history: 1, …
Honoo
  • 25
  • 3
2
votes
1 answer

Chat Application - Smack 4.1 Android IntentService - send message

I'm creating a chat application in Android, using Smack 4.1. I have implemented an IntentService that creates the connection and log the user in xmpp once the user logs in the application. I am using the following code to start the intentservice…
diego10
  • 81
  • 2
  • 11
2
votes
1 answer

How can I set the publisher on a PubSub node using Smack?

i'm developing a chat with Smack libraries and Openfire server. I would like to set a user to publisher on my pubsub node. I've searched for the web but i can't find anything. I've set the pubsub with this…
Stizzo
  • 25
  • 5
2
votes
1 answer

Not able to get LastActivity of a jabberId

I am trying to get last offline time of a particular jabberId by this piece of code. LastActivityManager lActivityManager = LastActivityManager.getInstanceFor(MessageService.getConnection()); lActivityManager.isLastActivitySupported(to +…
user5100905
2
votes
1 answer

Enable stream management xmpp connection smack 4.1

I tried enabling stream management(XEP-0198) by this piece of code XMPPTCPConnectionConfiguration connConfig = XMPPTCPConnectionConfiguration.builder().setHost(HOST) …
user5100905
2
votes
1 answer

Dynamic XMPP rosters?

I'm currently looking into XMPP and I would like to know if there is a way to create dynamic XMPP rosters. I want the contact list of any user be automatically generated by the server / component / plugin. Can components access and modify rosters?…
2
votes
1 answer

Different "from:" values received from GCM CCS server upstream msg from the same client

I'm using the GCM demo application provided by google (repository URL). When receiving upstream XMPP messages in my app server, consecutive tokens received from the same client differ in their "from" key, is that how it's supposed to be ? From…
SpiXel
  • 4,338
  • 1
  • 29
  • 45
2
votes
1 answer

Is XMPP good choice for this solution?

I want to build communication solution for my project. Thinking about not to develop everything from scratch, but to use XMPP servers. My project consist of many "mini-servers" (based on raspberry pi) scattered around different locations. Every…
Michal Dobrodenka
  • 1,104
  • 8
  • 27
2
votes
0 answers

XMPP chat not shown to other users End

Am implementing Xmpp Chat in my project. When i send message from one(X-User) user then message send successfully and it shown on user(X-user) screen. But message not shown on Other (Y-User) users Screen. When Other user sends message its also not…
Kiran Patil
  • 402
  • 5
  • 13
2
votes
2 answers

How to broadcast using XMPP?

I'm building an XMPP based IM application on the iOS. I was wondering if there is a provision for broadcasting a message to all the users. This is different from the group chat mechanism which is still limited to N number of users. Say for…
0x6d6e
  • 153
  • 2
  • 13
2
votes
1 answer

Issues in converting the mod_confirm_delivery module for newer binarized ejabberd versions

I have tried making a module hosted at : https://github.com/johanvorster/ejabberd_confirm_delivery I am using ejabberd ver 14.07. The changes i did: 1. Removed all the ?INFO_MSG statements 2. binarised all the strings. Every occurence of "abc" has…
bit_by_bit
  • 337
  • 2
  • 14
2
votes
2 answers

ejabberdctl command "create_room" not known

I wanted to setup a simple jabber server to enable chat with my team. Everything went smoothly until the point I wanted to create conference rooms. When I run ejabberdctl with no parameters, the option create_room does not appear in the list, and if…
cellover
  • 419
  • 5
  • 19
2
votes
1 answer

How does whatsapp Keeps its eJabberd/XMPP server connected when the app is Closed?

How does Whatsapp keep its connection to the socket when the app is totally closed off. Does Whatsapp use GCM or APNS push to trigger the App to sync with the Ejabberd?? Some people say it always stay connected(I am pretty new to this) but i tested…
John
  • 983
  • 1
  • 13
  • 31
1 2 3
99
100