xmpp

Adding Custom Attributes in Message tag in XMPP packet using asmack for android?

南楼画角 提交于 2019-12-19 04:05:45
问题 The Message Packet that i want to recieve. <message to="39@domainname.com/smack" chat_id="73392" custom_packet="true" user_id="44" manager_id="39" time_stamp="0" website_id="0" visitor_name="John" end_time="False" xml:lang="en-us" type="groupchat" from="room73392@conference.domainname.com/39"> <body>Hello</body> <x xmlns="http://jabber.org/protocol/muc#user"> <status xmlns="" code="0"/> </x></message> Message Packet that I am Recieving. <message to="44@domainname.com/Smack" from="room73407

XMPPFramework - How to create a group chat room?

有些话、适合烂在心里 提交于 2019-12-19 04:05:00
问题 I have an application which I am using for one-to-one chat. Now I need to implement group chat. I know it is possible with XMPPFramework and there is a class called XMPPRoom which we can use to create a room or join a room. But I am unable to implement that in my project. Can anyone please provide me some ideas, suggestions and if possible a sample application. Thanks in advance :) 回答1: here you have a script that allows to connect to a room [xmppRoom activate:[self xmppStream]]; [xmppRoom

Google Talk API integrations with Android app

纵饮孤独 提交于 2019-12-18 17:35:31
问题 I am checking out the google talk api's and it uses XMPP. Here http://code.google.com/appengine/docs/java/xmpp/overview.html#Sending_Chat_Messages I am reading on integrating it into my android app. Does anyone know of any good tutorials on using Google talk API with android? Also does it require app-engine to be integrated? 回答1: All you need is XMPP on Android. You can then use GTalk as any other XMPP Server, but make sure to specify the full JID (e.g. "user@gmail.com") as login name. 来源:

C# HTML from WebBrowser to valid XHTML

白昼怎懂夜的黑 提交于 2019-12-18 17:25:27
问题 So, we are using a webBrowser control in edit mode, to allow people to enter text, and then take that text and send it out to the server for everyone to see. IE, it's an HTML input box. The HTML output from that box isn't standard XHTML, given that it's just a webBrowser control, so i needed a method to convert any bad HTML to XHTML. I read up on SGML, and subsequently have used: private static string Html2Xml(string txtHtmlString) { var xhtml = new Sgml.SgmlReader(); var sw = new

What do I need for integrating XMPP into Rails?

烈酒焚心 提交于 2019-12-18 17:13:32
问题 Here's what I have so far. XMPP Server - Ejabberd or Vine XMPP Library in Rails - Blather XMPP Library on Client - Strophe.js Is this what I need to integrate chat into my rails app? EDIT: from the creator of Vine. "It's probably safer to use ejabberd, since its a more full-featured server than vines." 回答1: I would have add a comment but unfortunately I don't have enough reputation yet. If you want to do your chat client side, Strophe is recommended. If you want to store some conversations,

Any complete library for Jabber in Delphi?

偶尔善良 提交于 2019-12-18 16:58:25
问题 I'm looking for for a Jabber library for Delphi, I can see some COM based jabber components. But I'm looking for a real VCL library. Somebody knows one? 回答1: You could compile the code that underlies Exodus into a VCL. That code is called JOPL, and can be found at Google Code. 回答2: The Jabber protocol (XMPP) is supported by IP*Works's xmpp component. 回答3: There is a Delphi XMPP client in the "Delphi on Rails" project here: dorXMPPClient.pas 回答4: Bricksoft have VCL component for MSN,YAHOO,AIM

Any complete library for Jabber in Delphi?

一笑奈何 提交于 2019-12-18 16:58:11
问题 I'm looking for for a Jabber library for Delphi, I can see some COM based jabber components. But I'm looking for a real VCL library. Somebody knows one? 回答1: You could compile the code that underlies Exodus into a VCL. That code is called JOPL, and can be found at Google Code. 回答2: The Jabber protocol (XMPP) is supported by IP*Works's xmpp component. 回答3: There is a Delphi XMPP client in the "Delphi on Rails" project here: dorXMPPClient.pas 回答4: Bricksoft have VCL component for MSN,YAHOO,AIM

How to retrieve one to one chat history from Openfire using asmack android

本秂侑毒 提交于 2019-12-18 16:51:55
问题 Please can anyone show me the exact code for retrieving a chat history from openfire server to android client application using asmack library and XMPP protocol? In my openfire server I was enable merged Monitoring service/Open archive service and all messages successfully stored into database. But I don't know how those messages (chat history) retrieve to my client application which is building in ANDROID. What type of chat I need is one-to-one user chat (not group chat). I am success ed to

How to create an SSL connection using the Smack XMPP library?

送分小仙女□ 提交于 2019-12-18 13:33:58
问题 I'm building a small program that acts as an XMPP client and I am using the Smack library. Now, the server I am connecting to requires SSL (in Pidgin I have to check "Force old (port 5223) SSL"). I'm having trouble getting Smack to connect to this server. Is it possible? 回答1: Take a look at this thread. http://www.igniterealtime.org/community/thread/37678 Essentially, you need to add these two lines to your code: connConfig.setSecurityMode(ConnectionConfiguration.SecurityMode.enabled);

How to register a new user on XMPP using (a)Smack library

萝らか妹 提交于 2019-12-18 11:27:39
问题 I have set up a xmpp server and android client using the great post here... I have some pre defined users set up in the xmpp server and i could login with those credentials. Now, from my app i want to register as new users to the xmpp server through the android client. Can anyone please suggest me how to attain this... Any help will be grately appreciated...!!! 回答1: Smack has InBand registration functionality that can be used via the AccountManager class. Note that not every server has this