简体   繁体   English

将网站上的聊天应用程序链接/同步到android

[英]linking/syncing the chat application on a website to android

Can anyone point me to a tutorial that can show me how to be able to chat with customers that make queries from a web chat on my mobile? 谁能指出我的教程,该教程可以向我展示如何与通过手机上的网络聊天进行查询的客户聊天? I have been searching and I cant find one. 我一直在搜索,但找不到。 I would like to use javascript and jquery if possible so that I can be able to plug it into all our sites no matter which language they were developed in . 如果可能的话,我想使用javascript和jquery,以便无论将其开发为哪种语言,都可以将其插入我们的所有网站。

So in summary if a user sends a message on anyone of our websites I want to be able to reply them on my phone if I am not in my office 因此,总而言之,如果用户在我们任何一个网站上发送消息,如果我不在办公室,我希望能够通过电话回复它们

Read about Firebase. 了解有关Firebase的信息。 You can build a web-app and android client connected to the firebase messaging. 您可以构建连接到Firebase消息传递的网络应用程序和android客户端。

https://codelabs.developers.google.com/codelabs/cloud-firebase-chat/#0 https://codelabs.developers.google.com/codelabs/cloud-firebase-chat/#0

Interesting question, i also wanted to attempt that, my solution was the use sockets. 有趣的问题,我也想尝试一下,我的解决方案是使用套接字。 try socket.io it aims to make real time apps possible in every browser and mobile device. 尝试使用socket.io,它旨在使每个浏览器和移动设备中的实时应用成为可能。 However i only tested it on a android device. 但是我只在android设备上测试过。

try this library: https://github.com/socketio/socket.io-client-java 试试这个库: https://github.com/socketio/socket.io-client-java : https://github.com/socketio/socket.io-client-java

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM