JPush Aurora push quick creation of Android Demo and jpushandroid

Source: Internet
Author: User

JPush Aurora push quick creation of Android Demo and jpushandroid

  • Step 1: Create an aurora push developer account
  • Step 2: Create an application on the Portal
  • Step 3: download the application Example
  • Step 4: Import Example (Android project) to Eclipse
  • Step 5: run the Example application.
  • Step 6: Push messages on the Portal
  • Step 7: receive a message on your mobile phone
  • Step 8: view the received message in LogCat

The purpose of this article is to guide developers who are new to Aurora push and run Aurora push in just a few minutes:

  • Install the Demo client to your mobile phone
  • Push notifications on the Portal
  • The client receives the push and displays it in the status bar p


Step 1: Create an aurora push developer account

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

Click "Log on" directly with an account in the upper-right corner of the page, and click "register" without an account:

 

When registering a new account, you can complete the logon information and registration information. After the verification email receives the verification information, you can log on after completing the email verification.

 

After Successful Logon:


Step 2: Create an application on the Portal

After creating an account to go to Aurora push, the application creation interface is displayed first. Enter the name of your application and the Android package name.

 

Click Create my application:


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 Android Example" button and click Download.


Click "Download Application Example" and you will download it to A. zip compressed file. After decompression, a directory with the same name is displayed. This directory contains all the files in an Android project.


Step 4: Import Example (Android project) to Eclipse

In your Eclipse, import this Android Project (The Android project is not a Java project..



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 the network on your mobile phone is available.



Step 6: Push messages on the Portal



Step 7: receive a message on your mobile phone

After JPush Example is installed in the above steps, you can receive the PUSH message.



Step 8: view the received message in LogCat

Push messages can be viewed in LogCat logs.

 

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.