简体   繁体   English

Titanium Android应用程序中的推送通知

[英]Push Notification in Titanium Android Application

I have my Titanium Application for Android and now I want to implement Push Notification for Android in Titanium. 我有适用于Android的Titanium应用程序,现在我想在Titanium中实现适用于Android的Push Notification。 I have my back-end service which get all notifications for me but I don't have knowledge about Google Cloud Messaging and what are the relation between them (ie Push Notification and GCM). 我有后端服务,可以为我获取所有通知,但是我不了解Google Cloud Messaging以及它们之间的关系(即推送通知和GCM)。 Please Provide me guidelines and way how to do it. 请为我提供准则和方法。 Thanks in Advance! 提前致谢!

Doing push notifications with Titanium is probably going to require a 3rd party service, most, if not all, are subscription fee based. 使用Titanium进行推送通知可能需要第三方服务,大多数(如果不是全部的话)都是基于订阅费的。

I've been looking to this myself for some planned future projects using either Titanium or Apache Cordova(Phone Gap). 我一直在为将来计划使用Titanium或Apache Cordova(Phone Gap)进行的一些计划而自己。

The most popular recommendation I've been getting is Urban Airship It looks like they have some pretty nice features, but I haven't looked much further into it than that. 我得到的最受欢迎的推荐是Urban Airship ,它们似乎具有一些不错的功能,但是我对此没有做更多的研究。

For Titanium, you can use this module (Open Source): https://github.com/liccowee/Google-Cloud-Messaging--Titanium- . 对于Titanium,您可以使用以下模块(开源): https : //github.com/liccowee/Google-Cloud-Messaging--Titanium-

In examples, you see how to implement it in your app. 在示例中,您将看到如何在应用程序中实现它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM