2013年8月6日星期二

Gonzalo Ayuso: Sending Android Push Notifications from PHP to phonegap applications


Gonzalo Ayuso has a new post today showing how he set up Android push notifications to a Phonegap-based application with PHP.



Last days I've been working within a Phonegap project for Android devices using Push Notifications. The idea is simple. We need to use the Push Notification Plugin for Android. First we need to register the Google Cloud Messaging for Android service at Google's console, and then we can send Push notifications to our Android device.


He includes the steps you'll need to push the notification and the library to make the cURL connection out to the Google messaging platform. He's posted the full code out to github.


Link: http://gonzalo123.com/2013/08/05/sending-android-push-notifications-from-php-to-phonegap-applications

没有评论:

发表评论