Jpush Aurora Push Fast create Android Demo

Source: Internet
Author: User

    • First step: Create Aurora push Developer account
    • Step Two: Portal Create an app on
    • Step three: Download the app example
    • Fourth Step: put example (Android project) into Eclipse in
    • Fifth step: Run Example this application
    • Sixth step: push messages on portal
    • Seventh step: Receive a message on your phone
    • Section Eight step: In Logcat to view received messages in

The purpose of this article is to guide the developers of the new Aurora push to push the aurora to run in just a few minutes:

    • Install demo client to phone
    • Push notifications on the portal
    • The client receives the push and displays it in the status bar p


First step: create Aurora push Developer Account

To create an Aurora push developer account, please visit the Aurora Push official website (http://jpush.cn).

Click on the top right corner of the page, there is an account of the direct click Login, no account click to register:

When registering for a new account, complete login information and registration information can be registered successfully. After verifying that the mailbox receives the verification information, complete the mailbox verification to log in.

After the successful login page:


Step two: Create an app on the portal

Once you've created your account to go to Aurora, the first thing you'll see is the interface to create the app. Fill in the name of your application and the two items on the Android package name.

After clicking Create my app:


Step three: Download the app example

When the app is created successfully, it goes to the app details display screen. In the bottom right corner of this interface, you can see the "Download Android Example" button and click Download.


After clicking "Download App example", you will be downloaded to a. zip archive. After decompression, you will see a directory with the same name. This directory is all the files in an Android project.


Fourth Step: import Example (Android project) into Eclipse

In your Eclipse, import this Android project (remember this is an android project, not a Java project ), and point the project directory location to the example directory where you unzipped the previous step.



Fifth step: Run Example this application

After you import this Android project, you can immediately click the right mouse button to run the Android app. (If your eclipse is set to auto-compile)

If your Android phone is connected to your computer, the Jpush Example app can be installed and run. Before you do the next step, Make sure that the network on your phone is available.



Sixth step: Push messages on the portal



Seventh step: Receive a message on your phone

On the above steps to install Jpush Example mobile phone, you can receive the push message.



Eighth step: View the received message in Logcat

Push messages can be viewed in the Logcat log

Jpush Aurora Push Fast create Android Demo

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.