FAQ Database Discussion Community


Block user in android using xmpp + smack + openfire

android,xmpp,openfire
In my chat application. I am using Smack library and Openfire server. I want to block particular user. I am trying to implement a function which will block a particular user but its not work for me.and it will not give any error or exception. My code is public void...

Android Smack MessageEventManager not compiling

android,xmpp,openfire,smack,asmack
I am using smack API with openfire server to make an android app. I am trying to implement a MessageEventManager and MessageEventProvider to my app so it will tell me if the message was delivered or not though when i try to declare it a MessageEventManager, it is not compiling...

How can I add custom attribute (nick) in my XMPP message tag, in Smack 4.1

android,xmpp,smack
I want to add custom attribute (nick) in my XMPP chat message, like the following example <message from='*' to='*' id='123' nick='KASHIF' type='chat'><body>hello</body></message> I know, it is not recommended by XMPP but it is my requirement as this attribute(nick) is already implemented in the iOS version of the app i am...

ejabberd server broadcast message

android,ios,xmpp,broadcast,ejabberd
In short, I want ejabberd server to send some messages to a group of user clients. the group of users may change. For example, the server send message to group 1, and then send different message to group 2. In other words, how to make ejabberd server send messages to...

Is it possible to set up an ejabberd cluster in master-slave mode where data is not being replicated?

xmpp,ejabberd,master-slave
I am trying to setup a very simple cluster of 2 ejabberd nodes. However, while trying to go through the official ejabberd documentation and using the join_cluster argument that comes along with the ejabberdctl script, I always end up with a multi-master cluster where both the mnesia databases have replicated...

SMACK and Google Hangouts - Listen for invitations

java,android,xmpp,smack
Does anyone know whether or not SMACK can listen for group hangout invitations? I have tried adding a listener MultiUserChat.addInvitationListener(...) I have tried joining a room manually and then in code tried: for (String room : MultiUserChat.getJoinedRooms(connection, connection.getUser())) { dLog(String.format("%s -> getJoinedRooms? %s", getUsername(), room)); } But I never see...

XMPP: count of unread messages

xmpp,openfire,ejabberd,mongoose-im
I'm trying to implement chat for my webapp with following features: When user logs in he should see a number of unread messages (which is both offline messages and "unseen", I will explain "unseen" in next step). When user is anywhere in the app but on chat window he should...

The most efficient notification system for a web application

node.js,websocket,notifications,xmpp
I have VPS hosting for a business application. It has XMPP based chat with Openfire which is working fine. I want a real time notification system as well in our system. I have these options Ajax Long Poll PHP websockets Node.js Using XMPP(Not sure if applicable) Among all the above....

XMPP:BOSH client session getting closed randomly while connecting to openfire

java,xmpp,openfire,instant-messaging
I get this message after sometime. org.jivesoftware.openfire.http.HttpSession - Request 3436024236568502 > 3436024236568501, ending session. Basically I send around 1,00,000 messages/queue/hour each of 400 bytes. I see that only this session is terminated . What does this message indicate and what s the possible solution?...

iOS App XMPP chat server requirements

iphone,xmpp
We are planning to start a new iPhone chat app using XMPP. We didn't have any online VPS server now. We have a local server, on that openfire & XMPP is alredy installed. (We are using it for our local network chat on computers) So my doubt is that can...

Get openfire Chat History

ios,xmpp,openfire,browser-history,nslog
I am unable to get the history from open fire. I am using XMPP Framework How to get chat history from open fire archive and print the history data in nslog?...

Smack 4.1 Android anonymous registration to Openfire

android,tcp,xmpp,openfire,smack
I want connect anonymously to openfire server with Android Smack 4.1 client and register the new user (username = "wq", password="wq") with AccountManager, and then disconnect and login as non-anonymous registered user. 3.1.1 Registration with a Server Special care must be taken when an unregistered entity interacts with a server...

Android Null Pointer Excpetion in Login

java,android,nullpointerexception,xmpp
Here is my Code (the activity). Im having a problem with the conn.login method returning a null pointer exception. I dont seem to understand what the problem is. Button loginButton = (Button) findViewById(R.id.loginbutton); loginButton.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { EditText userN = (EditText)findViewById(R.id.username); String inputUsername = userN.getText().toString(); //...

php function that sends message to XMPP server give no log and doesn't work

javascript,php,xmpp,jaxl
Im working on getting a webpage where users input a text in a form and click submit. From there it validates the input and sends it to a php function that uses JAXL 3.0 library to send the message to my XMPP server. My problem is that when I call...

create the new user in xmpp account programmatically in android

android,xmpp
public class RegisterConnection extends Activity { public static final String HOST = "ip"; public static final int PORT = 5222; public static final String SERVICE = "ip"; private String username; private String name; private String email_id; private String password; private String cmpassword; private String user; private String nam; private String...

How to retrieve vCard in iOS from XMPP/OpenFire

ios,xmpp,openfire,xmppframework,vcard
As the name suggests I am trying to retrieve a vCard for a user using one of the next XMPPFrameworks methods: - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid; - (XMPPvCardTemp *)fetchvCardTempForJID:(XMPPJID *)jid useCache:(BOOL)useCache; My current implementation is: dispatch_queue_t queue = dispatch_queue_create("queue", DISPATCH_QUEUE_PRIORITY_DEFAULT); dispatch_async(queue, ^{ XMPPvCardCoreDataStorage* xmppvCardStorage = [XMPPvCardCoreDataStorage sharedInstance]; XMPPvCardTempModule* m = [[XMPPvCardTempModule...

how to login with email adress using smack,openfire ,android?

android,xmpp,openfire,smack
i have a problem using smack api i'd like to allow the users to login using their email not username how to do it ?i'm using openfire,xmpp,smack API android

How do I get the CDATA from a [Smack XMPP API] MultiUserChat Message?

xmpp,smack,cdata
Smack's debugging console messages show me a full message including the message detail in the CDATA I'm looking for: 11:45:05 AM RECV (0): < 11:45:05 AM RECV (0): message to="[email protected]/Smack" type="groupchat" from="[email protected]/roomname-abc"><body>ABCD issues valid 2015-06-05T15:45:00Z</body><html xmlns="http://jabber.org/protocol/xhtml-im"><body xmlns="http://www.w3.org/1999/xhtml">ABCD issues valid 2015-06-05T15:45:00Z</body></html> <x xmlns="roomname-abc"...

how does openfire server behave when one recipient got packet from multiple sender at the same time?

java,xmpp,openfire
I am newbie in xmpp(openfire server). I trying to make a application where multiple user can write or sketch at the same time on their client application and the coordinates will be passed to all the active group members. so in that case there is a very possible case when...

XMPP register new user

java,android,xmpp,smack
I am having lots of trouble with XMPP, I am new to it and all the examples that I have found already have an account with which they connect and then do things. My problem concerns new users. Someone who does not have an account needs to be able to...

xmpp ruby client for google cloud messaging service

ruby,xmpp,android-gcm
I'm trying to write a xmpp implementation in Ruby for GCM CCS. My code require 'xmpp4r' sender_jid = Jabber::JID.new('[email protected]') client = Jabber::Client.new(sender_jid) client.connect('gcm.googleapis.com', 5235) client.auth('auth_token') after client.connect .... I get this error : fatal: No live threads left. Deadlock? Any ideas?...

Strophejs get roster success callback response

javascript,xmpp,ejabberd,strophe
I have these functions that allow me to get the roster on ejabberd server. function callback(){ alert('hi'); } function getInfo(){ var iq = $iq({type: 'get'}).c('query', { xmlns: Strophe.NS.ROSTER }); conn.sendIQ(iq, callback); } The request is a success since I have an alert. My question is how can I handle the...

Not getting response from openfire server through Strophe BOSH object

xmpp,openfire,xmppframework,strophe
I am new at XMPP, i want to develop an instant messaging application on XMPP. I installed openfire on ubuntu server and then i use Strophe library to create connection object. But when i put JID and password in my application it send request but doesnot receive any stanza and...

Instantiate ConnectionConfiguration in Smack 4.1

android,xmpp,openfire,smack
I am implementing a chat feature in my android app. So I have installed an open fire server and Smack Client library and now I have written a code to connect with the server but I am getting an error which states that ConnectionConfiguration is an abstract class.So i cant...

SASLError using PLAIN: not-authorized

android,xmpp,smack,asmack,saslerror
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 my old code of login in aSmack - void startConnect(boolean sslFlag) throws XMPPException,...

Typing Status Smack 4.1

android,xmpp,smack,asmack
Hey I am trying to get typing status when the other person starts writing even though it is returning an empty message with the state as a message but it is coming from proccessMessage method. Shouldn't it be returned in the stateChanged? I haven't enabled any PacketProvider though, Do i...

Why XMPP RFC 3920 force the server-to-server communication using two separate TCP connection?

xmpp,protocols
In RFC 3920 (XMPP core), it define there must be one TCP connection for each direction for server-to-server communication, but for client-to-server it doesn't force it. So any reason or benefit to force two TCP connections for server-to-server? In the context of client-to-server communications, a server MUST allow a client...

QXmpp creating a MUC room (xep--0045) on the server

xmpp,qxmpp
I am trying to add MUC capabilities to my application with QXmpp, I am following this info in the QXmppMucManager.h header file /// \brief The QXmppMucManager class makes it possible to interact with /// multi-user chat rooms as defined by XEP-0045: Multi-User Chat. /// /// To make use of this...

is it possible to install/run several instance of openfire server on hosting with opration linux?

xmpp,openfire,host
I want to install several openfire server XMPP on one hosting with opration linux. 1.Is it possible? 2.is there any guide for this issue?...

strophe js MUC room

xmpp,strophe,muc
I have created room from desktop client. And want to send message and receive messages on this room using strophejs. I have already set muc plugin, but I don't see any documentation of it. 1) how to subscribe on messages in room 2) how to send messages to room

Strophe Message Sent Acknowledgment Issue

javascript,xmpp,openfire,strophe,bosh
I have implemented OPENFIRE with XMPP + BOSH on my Web based client interface. When i am sending the message ,i check whether connection is live or not.If it is not live i create new connection and then send. Sometimes it happens that client send a message and it is...

GCM Invalid JSON Missing Payload

python,xmpp,android-gcm
I am trying to send messages through Google Cloud Messaging, using Python sleekXMPP. I tried to follow the sample in the GCM docs. However, I am getting an "InvalidJson : MissingPayload" error response (400) when I call send_command. What am I missing here? The following is the code that I...

XMPP dialback; How to communicate between Receiving and Authoritative server?

authentication,xmpp,server
According to XEP-0220 the Authoritative-Server receives via a new connection db:verify and sends a go or no-go back to the Receiving-Server. How can he send the db:verify to an other server without having a established connection? According to the RFC a proper XMPP stream is initialized by stream:stream and stream:features....

how much time GCM CCS wait for an acknowledgement from an XMPP server before retrying for the same message?

android,push-notification,xmpp,android-gcm,android-notifications
I have an XMPP server which receive the message from android devices through GCM. If GCM sends any message to my server and my server doesn't send any acknowledgement soon after receiving the message, how much time GCM will take to resend the same message?

iOS XMPP received message in coversation screen

ios,xmpp
I am working on XMPP based project. i am able to send message and it displays in conversation screen but when i receive message it only show in alertview not able to see in conversation screen. help me please. - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after...

Implementing multi user chat in iPad App

ios,websocket,xmpp,chat
I have an iPad app. I'm planning to add a group chat feature to it. This means 1)users can create or join a group 2)Can text or send audio clips to other users logged into the app. I'm looking for pointers on how to go about implementing this. I read...

How to implement message read status like whatsapp blue tick mark?

android,xmpp,smack,asmack
I am developing one application in that chatting is one module, for chatting i am using xmpp. when i am sending message i am getting that message delivery status using DeliveryReceiptManager. DeliveryReceiptManager.getInstanceFor(connection).enableAutoReceipts(); DeliveryReceiptManager.getInstanceFor(connection).addReceiptReceivedListener(new ReceiptReceivedListener() { @Override public void onReceiptReceived(String arg0, String arg1, String arg2) { Log.v("app", arg0 + ", "...

GCM, how do I know end of XMPP packet?

python,sockets,xmpp,android-gcm,google-cloud-messaging
I'm implementing a Google Cloud Messaging XMPP server in Python. I can connect and authenticate to the GCM, however I use self.ssl_sock.recv(1024) which isn't good, but works for the auth. However when I later on want to receive messages from the GCM I read on the socket, but how many...

Cannot connect to local XMPP server using aSmack

android,xmpp,smack,asmack
I am trying connect to a local XMPP server (Vysper) from an Android App using this code: // ... ConnectionConfiguration connectionConfig = new ConnectionConfiguration("192.168.1.107", 5222); // load file from "Pictures" directory from Internal Memory File file = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); file.mkdirs(); connectionConfig.setSecurityMode(ConnectionConfiguration.SecurityMode.required); System.setProperty("javax.net.ssl.trustStore", file + "/clientkeystore"); Log.i("Info",...

Asmack login issue on Android 5.0 and above

android,xmpp,asmack
I am facing an asmack SSL connection issue on Android 5.0 and above. I think it's related to security. I resolved it by disabling following before connecting: config.setSASLAuthenticationEnabled(false); config.setSecurityMode(SecurityMode.disabled); But I do want security enabled. How to resolve it without disabling setSecurityMode? I looked the changes 5.0 http://developer.android.com/about/versions/android-5.0-changes.html#ssl But can't...

XMPP last received/sent message is not archieving

ios,iphone,xmpp
I am doing an XMPP iPhone chat application for the first time (using XMPP framework from gitHub). On that I can able to send and receive messages, but my problem is : Now I am on the chatting page, on that I have used a method to fetch all the...

How can I upload user's profile picture to server when registering new user ?

android,xmpp,openfire,smack,asmack
I am developing an android app using XMPP (Openfire) . User can register new account from that app and they can set their profile picture in register form. I want to know how can I save that profile picture to Openfire server.

Any sample on integrating XMPP Server with play framework Using scala?

playframework,xmpp
I wanted to integrate XMPP chat for my Play framework web app. It should be kind of customer support chat window, the live chat window. Is there any documentation/sample available and which XMPP server should I choose to implement it?

Initialization exception “NoClassDefFoundError: javax.naming.directory.InitialDirContext” when using Smack 4.1 on Android

android,exception,xmpp,smack
I am trying to use Smack for my project. I have previously used aSmack in some of my earlier projects which worked really well. However Smack is giving me weird exceptions. Here's my initialization code looks like - public void init(String username, String password) throws IOException, XMPPException, SmackException { mConnection...

Messages from Camel XMPP not arriving in Pidgin via Openfire

java,xmpp,apache-camel,openfire
I have camel route sending to a producer template with the uri: xmpp://[email protected]:5225/[email protected]?password=password The server at 127.0.0.1:5225 is running openfire with the monitoring plugin installed. Both user1 and user2 are set on the server. I have a pidgin client logged in on user2. If I change the uri to send...

Jabber Search for advanced user search

xmpp,strophe
I'm trying to search user by username in my xmpp server, but the result always contains no items... for getting the form format I send: <iq type='get' to='search.MY_SERVER' xmlns='jabber:client'> <query xmlns='jabber:iq:search'/> </iq> and received: <iq xmlns="jabber:client" type="result" id="3:sendIQ" from="search.MY_SERVER" to="[email protected]_SERVER/7acf23bb"> <query xmlns="jabber:iq:search"> <instructions>The following fields are available for searching. Wildcard...

ClassNotFoundException smack XMPPConnection

java,servlets,xmpp,android-gcm,smack
im following this documentation to achieve gcm upstream message. so far,i've created a servlet,and from that servlet im calling the SmackCcsClient. ConnectionConfiguration config = new ConnectionConfiguration(GCM_SERVER, GCM_PORT); config.setSecurityMode(SecurityMode.enabled); config.setReconnectionAllowed(true); config.setRosterLoadedAtLogin(false); config.setSendPresence(false); config.setSocketFactory(SSLSocketFactory.getDefault()); connection = new XMPPTCPConnection(config); connection.connect();...

Create a LogIn and Register using XMPP framework

ios,xcode,xmpp,openfire
I am trying to make an XMPP LogIn and a Registration Page Separate one from another, the server is open fire based. Also I am NOT using inbound registration. I would like to underline that this is my first attempt to do something like this, my previous experience involves only...

How does ejabberd handle really high number of requests

erlang,xmpp,ejabberd
How does ejabberd handle really high number of requests. For eg. I have only 1 instance running. I am assuming: Lets take mod_offline.erl for example This module gets started by ejabberd_admin when server is started Using gen_server callbacks. -- Is there only a single instance of this module running or...

Retrieving last items from XMPP PubSub Node with Smack always returns only a single item

java,xmpp,publish-subscribe,smack
I'm using the latest Smack (4.1) for my Android application. When retrieving persistent items from a node, does it only return the latest published items for each user? Right now, when I try to call getItems, I seem to only get the latest published event from each user. I would...

Error code 503 on transferring file using xmpp

android,xmpp,asmack
I am trying to send an image file using smack and openfire xmpp. For this I am using FileTransferManager class. To use FileTransferManager class I am using asmack-android-6.jar. I followed this link to do file sharing. This issue is also shared in comments below on this tutorial but no good...

error in connect to xmpp(openfire) server using java

java,xmpp,openfire,smack
I am new to XMPP. For a whole day I am stuck in connecting to my XMPP server (Openfire version 3.9.3) from Java. I am using the Smack (version 4.0.7) library. Here is simple code... ConnectionConfiguration config =new ConnectionConfiguration("servername",5223); XMPPTCPConnection connection = new XMPPTCPConnection(config); // Connect to the server try...

Jabber user going offline: Why the two different scenarios?

android,erlang,xmpp,ejabberd,user-presence
I have an Android client working in tandem with ejabberd XMPP server. Observations: Scenario 1: When I swipe-right the app (kill the app), the user goes offline on the server immediately. Its status is changed to offline at that very instant. Scenario 2: However, when I simply shut-down the Wi-fi...

QuickBlox: How to get all members of room?

ios,iphone,xmpp,chat,quickblox
How can we get all member of room in QuickBlox iOS SDK. In web SDk of QuickBlox we can find by bellow link. but I am not able to find same for iOS SDK http://quickblox.com/developers/Web_XMPP_Chat_Sample#Managing_members Any help will be appreciated....

XMPP MUC how to permanently join a room

node.js,xmpp,muc
I want the bot owner of the XMPP room to be persistently present, but I keep disappearing from the room and have to rejoin. What must I do to maintain my presence in a room? Is it configurable? I cannot find an answer in XEP-0045. http://xmpp.org/extensions/xep-0045.html Here is my code:...

Storing messages in Ejabberd

mysql,xmpp,ejabberd
I am trying to setup simple XMPP server (Ejabberd) which will save messages exchanged by users in MySql database. This really seems like a basic stuff for a chat server. Does anyone have any experience or documentation on how to setup message storing? I am using Ejabberd 15.04...

Trying to register for XMPP

java,android,xmpp,ejabberd
I am trying to create an account and then login into my XMPP server. I have gotten this far: try { System.out.println("trying to register for XMPP"); XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder() .setServiceName("jabber.org") .setHost(AppConfig.XMPP_HOST) .setPort(Integer.parseInt(AppConfig.XMPP_PORT)) .build(); XMPPTCPConnection connection = new XMPPTCPConnection(config); connection.connect(); AccountManager accountManager = AccountManager.getInstance(connection); accountManager.createAccount(name,...

WebSocket support for Ejabberd

websocket,xmpp,ejabberd
I am looking to implement WebSocket communication via ejabberd xmpp server... The only module that I have found so far is this repository: ejabberd-websockets This repository has not been updated for 4 year so I do not feel very comfortable using it. Any alternatives or reviews on above mentioned repository?...

Perfomance testing for XMPP Chat application with Jmeter & Blazemeter [closed]

xmpp,jmeter,performance-testing,blazemeter
We are trying to do a performance testing for a XMPP-based mobile chat application using Jmeter and Blazemeter. As we are new to XMPP web-services. Can anyone brief us how to use Jmeter or Blazemeter for XMPP and how to record the scripts using XMPP plugin?...

MongooseIM module not getting variables from Packet

php,xmpp,ejabberd,mongoose-im
I wrote the following module for MongooseIM but nothing is posted to the PHP file. start(_Host, _Opt) -> inets:start(), ejabberd_hooks:add(user_send_packet, _Host, ?MODULE, fetchPacketData, 50). stop (_Host) -> ejabberd_hooks:delete(user_send_packet, _Host, ?MODULE, fetchPacketData, 50). fetchPacketData(_From, _To, Packet) -> To = xml:get_tag_attr_s(<<"to">>, Packet), httpc:request(post, {"http://example.com/receiver.php",[], "application/x-www-form-urlencoded",...

xmpp messages are lost when client connection lost suddently

xmpp,message,ejabberd,xmppframework
I am using ejabberd server and ios xmppframework. there are two clients, A and B. When A and B are online, A can send message to B successfully. If B is offline, B can receive the message when B is online again. But when B is suddenly/unexpectedly lost connection, such...

Unable to receive upstream GCM messages with Node.js + XMPP

javascript,node.js,xmpp,google-cloud-messaging,node-xmpp
I'm new to node.js and XMPP but not Javascript or GCM. I'm unable to receive upstream messages using node-xmpp and none of the callbacks are called, not even error. I've looked through the other SO threads but none of the solutions have worked. Here is my entire route: var express...

Get packet type in module (ejabberd 15.02)

module,erlang,xmpp,ejabberd
I have this code for an ejabberd module. I am trying to filter messages in order to add meta-tags inside some of them but I am getting an error when I try to get the type of the Packet to filter only 'message' packets. This is my code so far:...

Keeping the XMPPStream active when the app is backgrounded

ios,xmpp,xmppframework
There are multiple cases here and I would like to highlight them separately. User presses home button -> app goes to background: ideally, one would still want the XMPP stream to be active for at least a few minutes so that a few messages could be received. App is in...

File Transfer fails on Smack 4.1.0 beta-1

java,xmpp,openfire,smack
I am working on an application involving two Smack clients, one of which attempts to send a jar file to the other client. I am writing this as a part of a desktop application, not an Android application (thought I'd make that distinction since most Smack queries on StackOverflow are...

XMPP client with photo sharing?

xmpp,openfire
I've set up my XMPP client but I would like to add a feature that I don't know if the server (Openfire) would support. Users would be able to post photos to share with their friend. As simple as that. It would look like a Whatsapp + Instagram, I guess...

Ejabberd with Stream management (XEP-198) not using offline message hook

xmpp,ejabberd,xep-0198
We are developing an app with a chat feature. We have an ejabberd (15.02) configured to use mod_offline_post to use the offline message hook and forward all messages for offline clients to an url of our own which then forwards to the GCM. However as we are developing an app,...

xmppconnection error on smack 4.1.0 beta3

android,xmpp,smack
i'v test connection between eclipse with Smack 4.1.0 Beta3 and openfire in localhost, but got some error. XMPPTCPConnectionConfiguration conf =XMPPTCPConnectionConfiguration.builder() .setHost("127.0.0.1") .setPort(5222) .setCompressionEnabled(false) .setSecurityMode(ConnectionConfiguration.SecurityMode.disabled) .build(); XMPPTCPConnection connection = new XMPPTCPConnection(conf); try { connection.connect(); connection.login("admin","admin"); } catch (SmackException | IOException | XMPPException e) { // TODO Auto-generated catch block...

3rd Party Library for chat with syncing to other device

ios,xmpp,chat,openfire
I am working on chat application. I have chat syncing option like skype. suppose I am logged in Device A and I have done chat from this device. now when I logged in Device B at that time all the chat history will be synced in device B. Problem with...

IOS XMPP how to go next controller with particular username and chat

ios,objective-c,xmpp
I am working on XMPP project. i have successfully completed login process and online ofline rosters. but now i dont know how to go to next view controller with particular user's field and chat with him. here is my try. Now what i have to write in UITableview's Delegate Method...

Smack 4.1 Disable Auto Receipts

android,xmpp,smack
I have just switch to Smack 4.1 from depreciated asmack. Smack 4.1 is automatically sending receipts with wrong id attached which is causing exception in my case. Smack 4.1 is attaching 2 different id's with receipt Here is the chat message received RECV (0): <message from='***' to='***' xml:lang='en' id='65' kind='0'...

GCM XMPP Server using Smack 4.1.0

xmpp,android-gcm,server,smack
I'm trying to adapt the example provided here for Smack 4.1.0. and getting a little confused. Specifically I'm struggling to understand what the GcmPacketExtension should now extend, how the constructor should work and how the Providermanager.addExtensionProvider should be updated to tie in with it. I'm sure someone must have done...

Python os.system works inline but not as a variable

python,email,xmpp,hangout
This function sends a google hangouts message to the recipient in the EMAIL variable. It works in the following case where the email in inline with no quotes. import os EMAIL='[email protected]' os.system('sudo echo "jjj" | sendxmpp -v -t [email protected]') #send hangouts message However, when I insert the variable in its...

Sending xmpp message to facebook through sendxmpp

facebook,xmpp,facebook-chat
For some time I've been sending chat messages to users from certain ecommerce groups in facebook. I did this using the program sendxmpp. It worked fine until now. No error or warning is shown when I execute the program, but the message aren't send, except if I send a message...

ios xmpp call another viewcontroller from oneview controller through appdelegate

ios,methods,xmpp
I am working on XMPP project. i have created connection and able to login successfully.but i have setup methods and all in appdelegate [connect] method. so when i am login in app successfully but when i have to fetch friend list then i have to again call appdelegate [connect] method...