How to build messenger for Android
Good afternoon.
I have a question about how to start developing messenger for Android. How best to make it. I know programming, but it's my first time developing an app, so I don't even know how to build it properly. Please tell me.
1 answers
For a messenger, you need two things-a client and a server. You can, of course, develop everything from scratch, make your own mega-cool protocol and spend several years on it.
Therefore, to start with, I recommend taking a ready-made one - xmpp.
First, you get a ready-made server - eJabber, openfire and many others.
For android, there are a bunch of ready-made libraries for working with xmpp - qsmack, Babbler.
Most of them are they provide ready-made methods for connecting, sending messages, and much more.
Also available is documentation on the protocol and even a partial translation.
The presence of ready-made clients will help in the initial debugging - after all, you need at least two clients for tests.
The protocol itself is extensible, so you can add your own pieces in the future.