sdk is the simplest.
If you want to write it yourself, it means building your own server. The more common XMPP protocol also has open source solutions. You can use asmack for the Android client and openfire for the server
Recently I was working on a project involving instant messaging. I originally planned to use the SDK of Huanxin. Then I looked at openfire on the Internet and felt that this is very good, so I used this to do it. It is relatively simple and the functions are implemented well. good. In general, the server side downloads and installs openfire, the mobile side uses the asmack library, and the test uses spark, that's it.
If we focus on making an instant messaging function, the market is probably not big anymore, and we can’t compete with WeChat. But on the basis of other core functions, if we hope to have such an instant messaging function, there is no need to reinvent the wheel. Yes, there are some mature third-party frameworks, such as Huanxin, etc., which are used by some applications. There is
Websocket is relatively simple and the load is OK
SDKs such as Rongyun and Huanxin are much simpler and more powerful. Just go to the documentation on their official websites. =
You can use various push notifications to simulate instant messaging, such as Tencent’s homing pigeons
socket !
sdk is the simplest.
If you want to write it yourself, it means building your own server. The more common XMPP protocol also has open source solutions. You can use asmack for the Android client and openfire for the server
Recently I was working on a project involving instant messaging. I originally planned to use the SDK of Huanxin. Then I looked at openfire on the Internet and felt that this is very good, so I used this to do it. It is relatively simple and the functions are implemented well. good. In general, the server side downloads and installs openfire, the mobile side uses the asmack library, and the test uses spark, that's it.
Just use Rongyun and Huanxin, it is also very convenient to manage
If we focus on making an instant messaging function, the market is probably not big anymore, and we can’t compete with WeChat. But on the basis of other core functions, if we hope to have such an instant messaging function, there is no need to reinvent the wheel. Yes, there are some mature third-party frameworks, such as Huanxin, etc., which are used by some applications. There is
on the homepage.Restful and Android SDK based on leanCloud
For instant messaging, there are better SDKs and good open source project references. It depends on your needs and background!