395 questions
1100
votes
35
answers
1.3m
views
Scroll to bottom of div?
I am creating a chat using Ajax requests and I'm trying to get messages div to scroll to the bottom without much luck.
I am wrapping everything in this div:
#scroll {
height:400px;
overflow:...
39
votes
4
answers
19k
views
Best way to manage Chat channels in Firebase
In my main page I have a list of users and i'd like to choose and open a channel to chat with one of them.
I am thinking if use the id is the best way and control an access of a channel like USERID1-...
233
votes
16
answers
263k
views
Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes?
I am developing a news app but I am getting following errors in from gradle console
(androidx.core:core:1.0.1) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android....
46
votes
17
answers
166k
views
Automatically scroll down chat div
I have this code, to load chat
function getMessages(letter) {
var div = $('#messages');
$.get('msg_show.php', function (data) {
div.html(data);
});
}
setInterval(getMessages, 100);
What I ...
25
votes
2
answers
46k
views
Creating a private chat between a key using a node.js and socket.io
How do I emit a message to all users in a private chat sharing a conversation_id using node.js and socket.io?
var express = require('express'),
app = express(),
server = require('http').createServer(...
2
votes
1
answer
6k
views
C# multithreading chat server, handle disconnect
I'm looking for a way to handle a disconnect, because every time I close a client, the server stops working. I get an error message, that it is "unable to read beyond the end of the stream" in this ...
20
votes
4
answers
33k
views
How to create chat bubbles like facebook Messenger
How would I create chat bubbles like this. More specifically how to group two ore more consecutive messages by one type of user into a bubble as a whole. For example FOR THE SENDER - the first message ...
13
votes
2
answers
22k
views
Firebase Hosting on own server
I am looking for a solution for developing iOS and Android chat to replace our current (unreliable, maybe poorly written by previous devs) XMPP/OpenFire chat. I came across Firebase which looks good. ...
1
vote
1
answer
2k
views
Retrieve history chat Openfire XMPP framework
I've developed a chat app using XMPPframwork of Robbie Hanson and Openfire server.
I can chat one to one and chat group successfully. But when I get history of chat, I can't get whole history. I use ...
116
votes
3
answers
194k
views
Best way to store chat messages in a database? [closed]
I'm building a chat app and I want a full history off all messages ever sent in the chat conversation. At the moment I am storing each message as a single row in a table called 'messages'. I am aware ...
77
votes
6
answers
106k
views
How to start a Skype chat – not a call – with a link
You can put skype:username into the href attribute of a link and it works, but it begins a call, but I want to create a link to begin a chat (a text conversation). I know that skype: is a type of ...
23
votes
14
answers
43k
views
Class does not define a no-argument constructor. If you are using ProGuard, make sure these constructors are not stripped
I am trying to create a chat app on android studio. my app has no build errors and i can start the app. However, when i use listOfMessage.setAdapter(adapter); my app is crashing. it does start the app ...
6
votes
1
answer
5k
views
How to add an inline image to the end of a string in a TextArea in JavaFX?
I am trying to add an emoji to my chat program when my client types :)
I am trying to add this in the FXML controller. I have captured when the user types :) using the following code snippet :
if(...
105
votes
2
answers
202k
views
Android Whatsapp/Chat Examples [closed]
Does anybody have an example or a tutorial for a Android application like WhatsApp? I want to understand how WhatsApp works and how it is programmed.
I want to see an example that uses a message-chat-...
55
votes
2
answers
46k
views
Best python XMPP / Jabber client library? [closed]
What are your experiences with Python Jabber / XMPP client libraries?
What do you recommend?