Search code examples
phpandroidandroid-c2dm

How to call the C2DM PHP Function from the Android APP


I am trying to add a Push Notification service to my Android Application. I added the necessary methods in the application (Receiver, Manifest Changes etc.)

I then proceeded to follow this (http://stackoverflow.com/questions/4121508/c2dm-implementation-php-code) to add the functions to my third party server for registration to C2DM and sending messages.

This may sound silly but as I am not that proficient at PHP can somebody please advise me on how to call the PHP functions to register/send messages from the Android App.

Thank you in advance, I will appreciate any help I receive.

RF


Solution

  • First off, C2DM is dead. Long live GCM!

    Secondly, here's an example.