Hi, I'm trying to develop a simple chat app for Android. I'm having serious trouble trying to decide which technology I will use to implement the communication between clients and server. I have found 2 options:
-Using XMPP: It's seems that XMPP is the better protocol to implement a chat application, but I have 2 problems with it. First, the project I'm doing is for my University course, the important part of the app the teacher wants, is the communication between server and client, and XMPP APIs almost does it alone. The second problem is that I've only found a good XMPP API for my Android client (aSMACK) and it seems to be pretty unofficial so might not be the better option for a University project.
-Using POST method of httpservlet: this solution is pretty much complex, but the app won't be more than a login and a simple chat interface so I can define my own XML files and process myself the messages. The problem I found here is that in order to achieve an almost real time application I will have to use polling on the client to receive new messages from other users. I'm not used to work with httpservlets so,
-Using XMPP: It's seems that XMPP is the better protocol to implement a chat application, but I have 2 problems with it. First, the project I'm doing is for my University course, the important part of the app the teacher wants, is the communication between server and client, and XMPP APIs almost does it alone. The second problem is that I've only found a good XMPP API for my Android client (aSMACK) and it seems to be pretty unofficial so might not be the better option for a University project.
-Using POST method of httpservlet: this solution is pretty much complex, but the app won't be more than a login and a simple chat interface so I can define my own XML files and process myself the messages. The problem I found here is that in order to achieve an almost real time application I will have to use polling on the client to receive new messages from other users. I'm not used to work with httpservlets so,