In this example sending device to device (Mobile To Mobile) messaging using google cloud messaging (GCM). it is the very basic example you can use this to create advance level messaging application. Using php as server side language and mysql database.
NOTE :
Students can also use this project for semester project.
In this example implementing Google Cloud Messaging (GCM) for android. Using Google Cloud Messaging (GCM) sending push notification from web server to registered android devices. Using php as server side language and mysql as database.
further i will give example to send push notification from one device to other.