Appcelerator Titanium - 消息流

发布于 2025-01-07 00:44:11 字数 202 浏览 5 评论 0原文

我正在 Appcelerator Titanium 中开发一个应用程序,我想知道是否有人知道通过该应用程序相互发送消息的方法?

假设我向我的一个朋友发送某种消息,该朋友也有该应用程序,该消息会出现在他的应用程序上,并且他必须批准我写给他的内容。

它不像短信、电子邮件或聊天那样。

如果我需要详细说明我的要求,请告诉我。

问候!

I am developing an App in Appcelerator Titanium and I am wondering if anyone knows of a way to send messages to eachother via the App?

Say if I send some sort of message to a friend of mine, which also have the app, it appears on his app, and he has to approve what I wrote to him.

It is not ment to be like SMS, E-mail or chat.

Let me know if I have to elaborate on what I am asking for.

Regards!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱你是孤单的心事 2025-01-14 00:44:11

那么,您必须编写自己的 API,并与之通信。 WhatsApp 等应用程序也使用此功能。

与推送通知 (Titanium Plus) 结合使用,您将能够将它们发送到手机。如果没有 Titanium plus,您可以采取相反的方式,让手机从服务器获取它们,以检查是否有新消息,但我不建议这样做。

但结论是,编写自己的 API/webservice

Well, you will have to write an API of your own, and communicate with that. It's something Apps like WhatsApp also use.

In combination with push notifications (Titanium Plus) you will be able to send them to phones. With no Titanium plus you could do it the other way around, let the phone GET them from the server, to check if there are new messages, but I don't recommend that.

But conclusion, write your own API/webservice

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文