Wednesday, March 26, 2014

Android how to achieve a similar micro-letters, chat rooms feature a php backend


A, B, C three phones. A made an assumption that language, B, C can be received in the php backend how to deal with this request and sent B, C, the first time, seeking the god advice.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:

Reply:
Backstage Friends group, then the group android client to send messages directly to each friend with xmpp protocol, you can achieve the function of the chat room chanting, the background is not doing, the management group is enough
Reply:
reference to the second floor jianfeng4113 reply:
backstage Friends group, then the group android terminal to be sent directly to each friend with xmpp protocol messages, chat can be achieved function room chanting, without doing the background, the management group is enough


Thank you, oh
Reply:
 
Support ah, factory good
Reply:
reference to the third floor ykennyy reply:
Quote: references to the second floor jianfeng4113 reply:

Backstage Friends group, then the group android client to send messages directly to each friend with xmpp protocol, you can achieve the function of the chat room chanting, the background is not doing, the management group is enough
< br />
Thank you, oh
< br />
In fact, if just a simple chat room function, do not need the background, xmpp own chat room functions
Reply:
reference to the second floor jianfeng4113 reply:
backstage Friends group, then the group android terminal to be sent directly to each friend with xmpp protocol messages, chat can be achieved function room chanting, without doing the background, the management group is enough


Is that OK? I use a php page using socket connection with the android be long, so there are three sets of equipment had a long connection with php, php Once A device receiving the information, then I would use the information to socket B, C.

Because national units, involves a lot of crab problem, the boss must be specified via the server data, so we came up with this plan, but I have not used the socket, does this method work?
Reply:
Find moderator appear
Reply:
What are you most primitive way, of course, but with openfire xmpp server is managed by your own, there is no question crab

No comments:

Post a Comment