chat

- (void)chatDidReceiveMessage:(QBChatMessage *)message not working

独自空忆成欢 提交于 2019-12-07 13:54:36
问题 I have integerated QuickBlox iOS sdk v2.5. I am sending messages to a particular and they are being sent to server but for receiving a message - (void)chatDidReceiveMessage:(QBChatMessage *)message is not getting called This is what I am doing to connect [[QBChat instance] addDelegate:self]; QBUser *chatUser=[QBUser new]; chatUser.ID=[[[NSUserDefaults standardUserDefaults] objectForKey:USERID] integerValue]; chatUser.password=[[NSUserDefaults standardUserDefaults] objectForKey:PASSWORD]; [

How do I create a chat server that is not driven by polling?

萝らか妹 提交于 2019-12-07 10:27:31
问题 I have created a simple chat server that is driven by client polling. Clients send requests for data every few seconds, and get handed any new messages as well as information about whether their peer is still connected. Since the client is running on a mobile platform (iPhone), I've been looking for ways of getting rid of the polling, which quickly drains the battery. I've read that it's possible to keep an http connection open indefinitely, but haven't understood how to utilize this

Is there any option to disable group-chat message history on open-fire server?

家住魔仙堡 提交于 2019-12-07 09:25:14
问题 I have been creating group chat application , while implementing group chat functionality I am facing problem, that when I every time join the room , open fire sends last two days messages. Here is post message which I get every time when I join the room. <message xmlns="jabber:client" id="05qEM-18" to="210@openfire.indianic.net/94e509b9" type="groupchat" from="top@conference.openfire.indianic.net/258"><body>Very good morning!!!</body><delay xmlns="urn:xmpp:delay" stamp="2014-03-19T05:15:06

Telegram-based chat on a PHP-based site: HOWTO?

五迷三道 提交于 2019-12-07 06:20:06
问题 I can't figure out what exactly to use for interaction between my site and the Telegram service (first of all - how to get the authentication process done using PHP and other stuff like chat among users). On this page: https://core.telegram.org/api I haven't got an idea how to use those functions in PHP. According to this page: https://telegram.org/apps I have two choices: 1) The CLI-interface (unofficial, by the way): https://github.com/vysheng/tg and it doesn't have an autentification

XMPP Multi user chat setting avatar image for the group chat

与世无争的帅哥 提交于 2019-12-07 05:25:37
问题 I am developing an iOS application with chat features. I am using XMPP for that application. In XMPP Multi user chat, whether any feature is available to set avatar image or group image for the conference room like the one we do in whatsapp? I have checked XEP-0045 extension but it wasn't helpful, So I checked with Psi by creating conference rooms, I came to understand that the user has vcard so he can store his avatar image but the XMPP doesn't provide any vcards for the groups we create.

Implementing a chat server as a WebService

巧了我就是萌 提交于 2019-12-07 04:59:14
问题 I have a school project in which I have to implement a chat application, whose server will be a java web service. The problem is that I've always thought of a web service as a way of calling remote functions, and I have no idea how to keep a "session" active on the web service, nor how to keep track of all the people currently in chat, rooms etc. 回答1: To the best of my knowledge, a chat server is supposed to know its clients after an initial connection, and send every client message to all

How to show Blurred image before downloading(like in whatsapp) in ios?

若如初见. 提交于 2019-12-07 04:43:25
问题 I am making a Chat application for image sending and downloading. I want to do some animation like in WhatsApp. So, how to show the blurred image? My image is downloaded from server. Please help me. 回答1: Scale the image down to a very small size like say 8x8 pixels. Send that data to the client. It should not be more than 4 * 8 * 8 = 256 B or 0.25 KB in size, so sending it to the client will not be a problem no matter how slow the client's connection speed is. Then scale the received 8x8

Facebook style ASP.NET chat component

旧街凉风 提交于 2019-12-07 04:03:02
问题 I will be launching a site that is somewhat like a social media site.I need a ASP.NET chat control which has to be AJAX based and it will be nice to have jQuery as my entire site will be themed using jQuery Themes. What i am looking for is something similar to the Gmail or facebook style chat as that is very easy to use from the users point of view and does not take a lot of screen real estate. Any thoughts here no what i can find. I have looked all over google and have not been able to find

PHP Sockets is half-working

旧街凉风 提交于 2019-12-07 00:44:55
问题 So, i have mIRC making a listen (bear with me on this one) on port 1235 and i tried to make a php script to connect to such port on my localhost server. My localhost is a clean Apache+PHP with mIRC being run on another computer (inside lan). The script works half-right as: 1) it connects to the 1235 port 2) it sends the $i 2.1) but on the other side no msg is recieved (aka I get a sock read event but no text pops up) 3) it reads all the incoming messages correclty 4) it closes when 'end' is

Best way to develop a simple video chat app for android and iOS [closed]

北城以北 提交于 2019-12-06 23:22:21
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am trying to develop a simple Video Chat app, but I don't know how to Start. I know there are a couple of ways to do this: WebRTC, Adobe Flex. But WebRTC is only for p2p and the Adobe Products are expensive. Do you know better ways to develop a Video Chat? The best would be a small tutorial. 回答1: I'm a