如何通过GCM发送图片和网站链接..? [英] How to send images and website link through GCM..?

查看:183
本文介绍了如何通过GCM发送图片和网站链接..?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过GCM发送消息,但是我找不到通过GCM消息发送图像和网站链接到设备的方法,因此,如果我们点击通知,则应打开网页链接或必须下载图像或显示..?

I am sending messages through GCM but i can't find a method to send images and website link through GCM messages...to devices so that if we tap on notification then web link should be opened or image must be downloaded or shown..?

推荐答案

我写了两篇博客文章,描述了这样做的两种方法:教程:使用AirBop发送消息有效载荷中的图像和教程:使用AirBop推送BigPictureStyle通知的图片这些帖子使用 AirBop 作为他们的应用服务器,但您可以使用相同的想法无论您使用的是GCM服务器。

I wrote two blog posts that describes two methods for doing this: Tutorial: Using AirBop to Send Images in the Message Payload and Tutorial: Using AirBop to Push Images for BigPictureStyle Notifications the posts use AirBop as their application server, but you can use the same idea with whichever server you are using with GCM.

这篇关于如何通过GCM发送图片和网站链接..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆