How to implement a chat application for Android?

I am working on a chat application for Android. This chat application is designed to send messages from one device to another using the Internet (GPRS, 3G, etc.) from this application. tell me how to implement this.

I thought that the use of web services is more data (Internet), consuming and less efficient. Is that right?

I worked on server and client sockets. I ran both server and client classes on the same device, and messages can be sent from the client socket to the server socket and vice versa. Now I want to receive messages between two devices using the server socket on the web server, and how to connect to the server from Android devices. please help me, thank you very much.

+6
android web-services chat
source share
3 answers

This will help you solve Push Notification in Android Chat apps. You can also create your own push notification server, supported by Really Small Message Broker (a small program that sends and receives data as messages to and from applications and devices over TCP / IP network connections.)

+3
source share

You can use the Xtify push service to implement the chat function. It is much easier to use with the provided sample code and all.

+1
source share

You should try ... quickblox will be easier to implement server applications. As in your case, you need interaction with the server to create a chat application on Android.

+1
source share

All Articles