Drupal way of sending push notification to android devices I am trying to send push notifications to Android, and Apple iOS devices. To store the device tokens, I am using cocoa rest client. For iOS devices that is fine, but I didn't understand how to store RegId and token for the Android devices. as we have only 4 attributes, namely:


token
uid
type
timestamp


Generally, for Android we have to store RegId and device token, but in the table we don't have any attribute to store Regid. I am giving post values as type=android,token=device token. 

Will this help me to send push messages to Android devices? Without RegId, I think it is not possible.

I am using the Push Notifications module.
Try the Push Notifications module. I've never done this -- but you're basically asking how do I send X message type to a user (SMS, Email, whatever). I've sent emails and SMS messages before ...

Beyond wanting to send this notification from within drupal/php ... there isn't anything really drupal specific in your question in terms of the drupal API. 

If you dont userstand the protocol or APIs you want to talk to I would suggest you research them more as well. I would start by looking at the source code for the PushNotifications module and see how it handles the logic of what you are asking about ...