Baidu Delivery Channel

The Baidu Push delivery channel allows Connect to deliver Baidu notifications to applications running on Android devices. In Android terminology, Connect acts as a third-party application server and sends data to an Android application running on a mobile device via the Baidu servers.

The Baidu delivery channel may be used to deliver notifications to multiple Android applications. Each application must be configured as a separate delivery channel, with a unique name, API key, and customer attribute to store the device token.
Note: The Baidu Push delivery channel currently supports one installed device per application and per customer. It does not support the case where a customer has a single app installed on two different devices (e.g. an app is installed on a customer's phone and tablet).

Prerequisite: Obtaining an API Key


In order to connect to the Baidu servers and send messages, Connect needs a API key. To obtain an API key, perform the following steps:

  • Log into the Baidu Console Page using a Baidu account.

  • Create an Application.

  • In the Baidu Console Page, click application details after the application is created. The new APIKey/SecretKey will be shown on the screen.

The Baidu: Guide page describes this process in detail.

Android Application Requirements

In order for a device to receive Baidu messages, the device must have a logged in Baidu account and the application must register with the Baidu Service. When the Android application registers with the Baidu Service, it receives a Channel ID that identifies the application running on that unique device. This Registration ID must be stored in the channel customer attribute for each customer before Connect can send notifications to that customer. This is typically done by having the application send the Registration ID to a Connect web service, or some other web service that updates the customer record in Connect.

Baidu provides a Baidu: Guide that explains the Android application requirements in detail.