JPush Aurora Push handles Android Push in 3 minutes

Source: Internet
Author: User

On Android, it is not that easy to implement the Push function!

The reason is that GCM, the official Android PUSH Service, cannot be used on domestic mobile phones. Therefore, many Chinese developers have to use the immature open-source solution AndroidPN. Basically, most people who have used it have been tortured by androidpn.

This article uses Aurora Push, a new third-party message Push Service, as an example. You can try the Android Push function in a short time. We hope you will try it again.

Step 1: Visit @ Aurora push official website http://jpush.cn), create Aurora push developer account

I tried a number of platforms, Aurora is good, it is recommended to be simple, free), you can also try to use other push to build a platform.

Step 2: Create an application

After creating an account, the page for creating an application is displayed. Enter the name of your application and the Android package name.

Step 3: download the application Example

After the application is created, the "Application details" page is displayed. In the lower-right corner of the page, you can see the "Download Application Example" button.

After you click "Download Application Example", you will download a. zip compressed file. After decompression, a directory with the same name is displayed. This directory is an Anddroid project file.

Step 4: Import ExampleAndroid project to Eclipse

In your Eclipse, create a new project and place the project directory in the Example directory that is extracted from the previous step.

Step 5: run the Example application.

After importing the Android project in the previous step, you can right-click it and run the Android Application. If you set automatic compilation in Eclipse)

If your Android phone is connected to your computer, the JPush Example application can be installed and run.

Before proceeding to the next step, make sure that the Network on your mobile phone is available.

Step 6: push notifications

Step 7: receive notification

On the JPush example mobile phone installed in the above steps, you will receive the notification of the push.

You have discovered it smartly. You do not need to write a line of code for the above steps!

Are you sure you can do this in 3 minutes? Hope you like it]

This article from web Front-end development, this article link: http://www.candoudou.com/archives/436

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.