Amazon Simple Notification Service
Developer Guide (API Version 2010-03-31)

Step 5: Obtain a User Id and Channel Id from Baidu

Baidu generates a user Id and channel Id that you will need to send a push notification message using Baidu.

To obtain the user Id and channel Id from Baidu

  1. Open Push Demo and then choose, in the bottom right, 无账号绑定 (Bind Without Baidu Account).

    You should then see a screen similar to the following with the userId and channelId.

  2. Make a note of the userId and channelId, as you will be using them in the next step.


For an example of Java code that is used to retrieve the userID and channelId, see the onBind method in the file of the Push Demo app from Baidu. For more information, see the Android integration guide. To translate this guide into English, you can paste the URL,, into Bing Translator and then choose Translate.