Android Cloud To Device Messaging

Component ID

811244

Component name

Android Cloud To Device Messaging

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1150

Component created

Component changed

Component body

This module provides the integration with Android Cloud To Device Messaging (or Google Cloud Messaging for Android).

C2DM (GCM) is used to be server pushing service; and this module has already implemented this part. Recently, C2DM added the feature to receive the pushing messages from Android, which has not been implemented by this module yet.

Installation

# Install the dependent modules(Services, REST Server, Rules).
# Get a Google API KEY and fill it in the /admin/config/workflow/cloud-to-device-message page.
# Activating the resources of c2dm_gcm in admin/structure/services/list/%yourEndpoint/resources page

Configuration

# Build a client app. See DrupalCloud library
# Post "gcm_regid", "uid" to "http://%yoursite/%yourendpoint/c2dm_gcm"(or Put to modify it).
# Set the c2dm permission.
# Define & Create your action and set the message data with JSON.
# Trigger Event, send_notification.