I have prepared one application for GCM with help of GCM: Getting Started. It is working fine.I got messages in emulator.I have installed my app in device.when i send messages from server emulator only got the messages,but devices not getting messages.I think have done some mistake some where please guide me.
Share
Did you register the device with GCM?
for getting the Registration ID you have to do the Following code:
inside onCreate() method, add the following code:
here you will get regId which you must have to sent it to the Server so that server can send push notification to Device which has the above regId.
for More Help you can refer here