PushApps Android推送通知示例

时间:2013-11-05 14:23:54

标签: android push-notification google-cloud-messaging pushapps

我实施了PushApps Android SDK。 一切都很顺利,但我想自己创建一个通知而不使用:

PushManager.buildNotification(intent.getExtras(), context,
                                        NOTIFICATION_ID, R.drawable.notification_icon,
                                        notificationIntent);

具体 - 我想使用

中收到的数据显示自定义布局
intent.getExtras() 

谢谢!

1 个答案:

答案 0 :(得分:1)

为了显示您自己的自定义通知,您可以控制PushAppsMessage界面。通过这样做,您可以显示自己的具有特殊布局和更多的自定义消息!查看这篇文章 - How To Create Android Push Notifications With Custom View?

相关问题