How to Implement chat application for Android? [closed]
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this questionI am working on a chat application for android. This chat application is for sending messages from one device to another using internet(GPRS,3G,etc) from this application. please tell me a way to implement this.
I thought using web services is more data(internet) consuming and less efficient.is this right?
I worked on server and client sockets. I ran both server and client classes in single device and messages can be transfered from client socket to server socket and vice versa.Now i want to message between two devices using server socket on we开发者_如何学运维b server and how to connect to server from Android Devices.
This helps you to solve Push Notification in Android Chat applications. You may also build your own push notification server backed by the Really Small Message Broker(a small program that sends and receives data in the form of messages to and from applications and devices over TCP/IP network connections.)
You can use the Xtify push notification service to implement the chat feature. It is much easier to use with their provided sample code and all.
You should try this...quickblox will be easier enough to implement server based applications. As in your case you needs interaction with the server to built a chatting application in Android.
精彩评论