Reputation: 779
I have been deploying a web based chat application which interacts with gtalk. I was able to successfully make the app. I want to add a new feature to this app. I want to check if any gtalk user is typing before he sends a message i.e. after the chat is invoked, is there any way to check if the gtalk user is typing; like the way gtalk displays "someone is typing" when someone is typing.
Upvotes: 0
Views: 1773
Reputation: 4136
XEP-0085: Chat State Notifications is what you are looking for. You have to implement this in your client. http://xmpp.org/extensions/xep-0085.html
Upvotes: 3
Reputation: 32269
Attach a key down listener which notifies the server each time the user presses a key. The server has to receive this and notify the other(s).
Although I don't have experience with gtalk. This is a generic solution. Don't how far it's possible with the libraries/frameworks you're using.
Upvotes: 0