Appcelerator Titanium - 消息流
我正在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
那么,您必须编写自己的 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