Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build an android Push Notification server in PHP

I am developing an application and in that application I need to implement push notification.

Can anyone suggest me how to do develop the server in PHP (Json, Zend Framework if possible) and provide me a good tutorial on push notification?

like image 792
Houx Avatar asked Apr 22 '12 21:04

Houx


2 Answers

"Android Cloud to Device Messaging (C2DM) is deprecated". Its new version is Google Cloud Messaging (GCM). There is plenty of information and source code examples on developer.android.com.

Here is another useful post for Android Push Notifications.

like image 140
Mario Kutlev Avatar answered Oct 13 '22 00:10

Mario Kutlev


Whenever you want to send message to an android device your Server contacts -> Google Server Contacts -> android device .

So you integrate your ZF application with google c2d api . Here you can find one such implementation of this type of integration with ZF http://blog.digitalstruct.com/2010/11/21/android-c2dm-with-php-and-zend-framework/

like image 39
Mr Coder Avatar answered Oct 13 '22 00:10

Mr Coder