In my humble opinion, since you are starting out, the interesting thing would be to do some more research in order to offer this kind of service to the public, which I believe in the future is your claim. This "real-time", "instant messaging" business, etc., is a little more complex. Imagine Whatsapp, how long it took to offer the call service, the one you call without having to pay, just over the internet. Well, we see that until today they have not released video called, because it is basically because it is too complex to say the least. bla bla...
But then, I’d like to introduce you both to the Quickblox and the Q-communicate, father and son, united to facilitate the lives of many people from many different places. They are projects of a chat app, file transfer, notifications; with everything already implemented and open source. With them you will find the full API documentation for the REST API, and the Quickblox SDK for iOS, Android, and the Javascript SDK. In addition to a set of tutorials and code samples.
A company developing applications and consulting and client-server solutions that allows you to build more powerful and engaging applications more easily. Quickblox has its own instances Amazon which makes available to small application developers mobile or web, in order to facilitate the development of.
Q-Communicate, the child, is a tool that makes all integration for communication between your applications with different platforms.
Q-Communicate is a project of a chat app with a vast
range of communication features included (such as messages,
file transfer, push notifications, audio/video calls).
https://github.com/QuickBlox/q-municate-android
Screnshots
Details
Good Luck!!! Good reading! It’s worth it, believe me!
An interesting option is to use a Backend as a Service focused on response time like Firebase and make your app directly listen to the changes in the relevant data instead of receiving by GCM.
– Pablo Almeida
@Mateus-carvalho see if this post helps you http://answall.com/questions/119649/que-estrat%C3%A9gia-usar-para-criar-site-que-manda-informa%C3%A7%C3%B5es-para-aplicativo-androi/119793#119793
– user28366