標籤:android style http io ar color os 使用 sp
PushSharp (github)PushSharp是一個實現了由伺服器端向移動用戶端推送訊息的開源C#庫,支援 iOS (iPhone/iPad APNS)、 Android (C2DM/GCM - Google Cloud Message)、Windows Phone、Windows 8、Blackberry (BIS and BES via PAP)以及Amazon (ADM)裝置,未來還將支援Firefox OS。PushSharp的API可以流暢地位不同平台建立訊息,自適應訊息頻道,相容ono架構等。 教程:如何配置和使用PushSharp發送推播通知
APNS-PHP (code.google.com)推播通知(也被叫做遠程通知)是在iOS 3.0以後被引入的功能,簡稱Apple Push Notification Service(APNS)。是當程式沒有啟動或不在前台運行時,告訴使用者有新訊息的一種途徑,是從外部伺服器發送到應用程式上的。 現在可以使用PHP去實現這個功能了,ApnsPHP項目提供了這個功能,該項目源碼於2010年2月開放,2012年10月移至github。https://github.com/duccio/ApnsPHP功能:Autoload system, explicitly include only Autoload.php and all classes are loaded on-demand.Message class, to build a notification payload.Push class, to push one or more messages to Apple Push Notification service.Feedback class, to query the Apple Feedback service to get the list of broken device tokens.Push Server class, to create a Push Server with one or more (forked) processes reading from a common message queue.Log class/interface, to log to standard output or for custom logging purpose.Objective-C Demo Project with not-running, running in foreground and running in background application state support.
Rack::Push Notification (github)Rack::Push Notification由Matt Thompson開發,Matt Thompson有好幾個比較受歡迎的開源項目,其中一個就是大受歡迎的AFNetworking項目。 Rack::Push Notification使用的是Rack Ruby web service interface,可以讓你清楚註冊裝置,從而推送訊息。
Node-APN(github) Node-APN是一個開放的結合了蘋果推播通知的Node.js模組,該源碼模組使用簡單,反饋服務支援、錯誤處理,在發送出錯時自動重發。遵從蘋果的最佳實務。
Pyapns
(github)Pyapns 提供了通用的Apple Push Notification Service (APNS)。該解決方案使用了開源的Twisted server,支援原生的Python和Ruby API。 功能:XML-RPC Based, works with any client in any languageNative Python API with Django and Pylons supportNative Ruby API with Rails/Rack supportScalable, fast and easy to distribute behind a proxyBased on TwistedMulti-application and dual environment supportSimplified feedback interface 暫且選取了部分開源項目,如果你使用過不錯的推播通知相關項目,歡迎補充!!
iOS開發資源:推播通知相關開源項目--PushSharp、APNS-PHP以及Pyapns等