I need to make chat application for android. I thought of using PHP script to implement the chat application. Basic idea is to send message form android client to PHP script and
Don't use C2DM, its a deprecated. Please go through the GCM(Global Cloud Messaging),
please follow this link, http://developer.android.com/google/gcm