Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个具有聊天功能的安卓应用程序。问题是我应该如何做后端?它应该像 msg 套接字还是 http REST API?有很多具有这种功能的应用程序(例如facebook),所以它应该是一些经典的解决方案。
谢谢。
问题不是太清楚。但我猜你正处于计划阶段。因此,如果您希望它像 Android 上的聊天应用程序一样工作,您需要使用 GCM。对于 GCM,您可以拥有一个HTTP 服务器,如 Apache、Nginx 或您选择的任何其他服务器,或者您可以拥有一个CCS 服务器。REST 与否,是您的选择,但最好将 CCS 服务器用于需要服务器和客户端之间双向通信的聊天应用程序。
这是三星开发者网站上的教程。
When fire a click on a serie, I get the next error : Uncaught TypeError: Property 'firePointEvent' of object # is not a function.
In Highstock.js v1.3.1