简体   繁体   English

Appcelerator推送通知

[英]Appcelerator Push Notifications

I was wondering if it's possible to create a generic push notification solution for mobile devices (or at least Android and iPhone) with Appcelerator. 我想知道是否可以使用Appcelerator为移动设备(或至少Android和iPhone)创建通用的推送通知解决方案。 I found some examples on how to implement iPhone Push with Appcelerator but nothing generic. 我找到了一些有关如何使用Appcelerator实现iPhone Push的示例,但没有通用的示例。

Any ideas? 有任何想法吗? Or are there maybe other cross-plattform development sdk to solve this? 还是有其他跨平台开发SDK可以解决此问题?

Using Appcelerator Cloud Service(ACS) you can implement the Push Notification. 使用Appcelerator Cloud Service(ACS),您可以实施推送通知。

It is the simplest and reliable one. 这是最简单和可靠的一种。 Follow below tutorial for ACS Push Notification implementation on Android and iOS 请按照以下教程在Android和iOS上实施ACS推送通知

Android : http://www.titaniumtutorial.com/2012/06/appcelerator-cloud-push-notification-in.html Android: http //www.titaniumtutorial.com/2012/06/appcelerator-cloud-push-notification-in.html

iOS : http://blog.teemusk.com/2012/05/building-server-push-notifications-with-appcelerator-titanium-cloud/comment-page-1 iOS: http //blog.teemusk.com/2012/05/building-server-push-notifications-with-appcelerator-titanium-cloud/comment-page-1

Hope it helps someone 希望对别人有帮助

As far as I know, you can use the push notification service with iOS only. 据我所知,您只能在iOS上使用推送通知服务。 See the documentation here . 请参阅此处文档

Then, for the iOS, the simpliest way to send/receive notifications, is to subscribe for free for the UrbanAirship service. 然后,对于iOS,发送/接收通知的最简单方法是免费订阅UrbanAirship服务。 You can find a nice tutorial here . 您可以在这里找到一个不错的教程

I only know of push notifications working in IOS (for iPhone) too. 我也只知道IOS(适用于iPhone)中的推送通知。 However, I understand that Cocoafish are soon working on push notification for Android . 但是,据我了解,Cocoafish即将致力于Android的推送通知 Backends like this and UA are about as generic as you can get. 这样的后端和UA尽可能地通用。

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

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