Android using third-party push (ii) Baidu cloud push send

Source: Internet
Author: User

Time flies fast, the blink of an eye is December. After work, found that the rhythm can not stop, like being on the wind, no longer by themselves. Working days such as running water, weekends are fleeting. In fact, there is time to think, but not very good use, or spent on meaningless things above. People always have inertia, but it's not good to keep going.

Last week began to contact the third party cloud push, has experienced the aurora push, a push and Baidu cloud push, also feel the characteristics of each platform. Some of the deployment is convenient, some powerful, some stable and reliable. Today briefly introduce the use of Baidu cloud push.

Baidu Cloud push gave me the feeling is stable and reliable, after all, Baidu produced, trustworthy. And rich media push is also free, and won the Aurora push a chip. A push, a rich variety of features, but the deployment is more cumbersome, according to the document operation is not necessarily able to deploy successfully.

Baidu's cloud push and application engine are "Baidu Open service platform", so the operation is very similar, first in the management console to create an application, you can see and application engine applications belong to peers:

Http://developer.baidu.com/console#app/project


Click "Cloud Push" and then "Push settings":


After filling in the package name, click on the quick example, then download the example:


After decompression is an APK and an Android engineering directory, as follows:

Fill in the notification offline time and then save:


To run on a machine connected to the network:


The following can be pushed:

Create a new "notification":


In the advanced settings you can set the click Notification Time, here we open a URL:


The machine received a message immediately:


Click the message to enter the default URL:



Just a quick demo today to integrate into your application later.


Reprint Please specify source: Zhou Mushi's csdn blog Http://blog.csdn.net/zhoumushui

My github: Zhou Mushi's GitHub Https://github.com/zhoumushui



Android using third-party push (ii) Baidu cloud push send

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.