* I need to make an Android application, which is basically a chat application. * In this chat application, a user can interact with both a single user and a group, which means that group chat also exists. I use php as the back end for the database. I have never done this kind of work before, so I need suggestions or recommendations.
The options i have seen is as follow : 1. Web-services 2. Socket Programming 3. XMPP using the smack api
Now I am confused that it is better to implement the chat function in android. Also, I have not received the code for this. One of my team members asks me to use socket programming, but I have not received a single application example or anything for socket programming in android. This time I do not know socket programming. How can we connect our phone to the server, and then to another device. Hope you get me what I want Conway.
So, someone, please guide me and show me the right direction. Also, if you can provide me with some sample code, this can be really helpful. Any help is appreciated.
Naresh sharma
source share