如何从 .net 调用 Mobile First 服务器(适配器)
How to invoke Mobile First server (adapter) from .net
我正在尝试使用本机实现基于事件的推送通知 android。
我的 .net 应用程序如何首先向移动设备发送通知server/adapter说已添加新任务。
文档上说 "Notifications can be either pulled from, or pushed by, the back-end system. In this example, a submitNotifications() adapter function is invoked by a back-end system as an external API to send notifications."
没有明确解释如何调用这个?
怎么不能教你如何在 .net 中编码。
在推送通知示例应用程序中还有一个演示后端。 Java 中提供了它的源代码。在源代码中调用了推送适配器。
代码的最终结果是这样一行:HttpWorker.callAdapter(userId, notificationText, serverUrl);
您提供推送的对象、文本和 MFP 服务器 URL。
Java 代码打开连接并发送消息等...
实施取决于您 - 更复杂,更简单。
Possible MobileFirst push notification architectures
我正在尝试使用本机实现基于事件的推送通知 android。
我的 .net 应用程序如何首先向移动设备发送通知server/adapter说已添加新任务。
文档上说 "Notifications can be either pulled from, or pushed by, the back-end system. In this example, a submitNotifications() adapter function is invoked by a back-end system as an external API to send notifications."
没有明确解释如何调用这个?
怎么不能教你如何在 .net 中编码。
在推送通知示例应用程序中还有一个演示后端。 Java 中提供了它的源代码。在源代码中调用了推送适配器。
代码的最终结果是这样一行:HttpWorker.callAdapter(userId, notificationText, serverUrl);
您提供推送的对象、文本和 MFP 服务器 URL。
Java 代码打开连接并发送消息等...
实施取决于您 - 更复杂,更简单。 Possible MobileFirst push notification architectures