Android如何开发即时通讯功能?
怪我咯
怪我咯 2017-04-17 13:32:15
0
14
990

新手求带,最近在开发一个即时通讯也就是聊天的功能,看了很多例子,有自己写的,也有用sdk比如说融云的,请问大家都怎么实现这个功能呢?哪种方法比较简单。

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(14)
大家讲道理

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

Ty80

socket !

PHPzhong

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

Ty80

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.
Ty80

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!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template