Skip to content

Instantly share code, notes, and snippets.

@mhlipson
Created June 5, 2012 02:03
Show Gist options
  • Save mhlipson/2872023 to your computer and use it in GitHub Desktop.
Save mhlipson/2872023 to your computer and use it in GitHub Desktop.
Sample prepared C2DM messages
<?php
$message = array(
'action' => 750, // IntentService Action to be called on the device.
'priority' => 3, // Priority of action called, this would queue the request until later
'input' => 3445 // Control aspect. This could be a 'message' id from the server, or the ID of the blog that was published to fire off the C2DM message.
);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment