zoukankan      html  css  js  c++  java
  • 如何使用SAP云平台的Notification服务给Android应用推送通知消息

    登录SAP Cloud Platform Mobile Services management cockpit:

    在Mobile Application列表里,选择之前创建好的Wiz App:

    打开User Registration标签页:

    指定需要推送到移动应用上的Notification文本:

    之前使用SAP Cloud Platform Android SDK创建的Android应用,就收到了这条Notification:

    如果我们测试的应用当前处于后台运行状态,则来自SAP Cloud Platform的Notification推送到达移动设备后,表现形式如下:

    点击手机上这条推送消息列表,就能将收到推送消息的应用转换到前台运行状态(foreground mode):

    SAP Cloud Platform提供的这种通知服务,是采用AlertDialog实现的。

    要获取更多Jerry的原创文章,请关注公众号"汪子熙":

  • 相关阅读:
    代码希望HTML5初探CSS3新特性小示例
    myeclipse及eclipse的优化
    window7如何提高到最高权限
    大麦茶
    poj3292
    poj3278
    poj3100
    poj3117
    poj3299
    Presto性能调优的五大技巧
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/12444256.html
Copyright © 2011-2022 走看看