Android client-side communication services with PHP (three) --- Aurora Push sign up

Overview
    There are many ways to push the message, here I chose Aurora push. This section is divided into two parts, the first push and use its Demo program look at the effect of pushing through the registration aurora, and then step by step to modify their own applications.
Register Login Aurora push
    developers to basically understand the use of third-party libraries, many of them need to register to use, push Aurora is no exception. Aurora log in directly push the official website https://www.jpush.cn/, register your own account, registration process is not introduced, this will be. Registering your log in directly,
after logging in, you can see in the figure below themselves have not created any application.

Create an application
    click on "Create application" interface changes to the following figure.

    According to their needs, enter the name of the application, upload the application icon, and I am using a development environment under Android, fill in the application package name you are going to create in the Android column, I fill in for the next figure (programmer friend love life At the same time love technology must be care of their body ah)

    Fill it in, click "Create My Own", can be seen under the application successfully created

Aurora push download and use the example program
    Click the image above the red line out of the box "Download Android Example", save it to the computer specified location.

    Examples of program does not own the APK file, the Eclipse open procedures, the following error may occur
[2015-05-02 21:45:54 - JPushExample (269.09 thousand)] Unable to Resolve target 'Android-10'
[2015-05 21:45:54 -02 - JPushExample (269 090)] the Project Compiler Clean your Project Settings changed..
[2015-05-02 21:45:55 - JPushExample (269 090)] Unable to Resolve target 'Android-10'
    which is because my Eclipse does not support this version of the SDK download package, the solution is to replace target = project.properties the version supported by android-10 on it, and here I replaced target = android-18, then press F5 or select Refresh project right on it.
    At this time run the software

    Then push back to the application page Aurora


    Select push \ send notification, click Send Now



    At this point you can see the push notification on your phone




End
    actually wrote here, I think most programmers should know how to do, and that is the official documentation and sample code shining aurora push, transplanted to revise its own procedures which, I am going to the next section framework sample program, required to prepare their transplantation.

/************************************************************************************************

Original article, reproduced, please indicate the URL: http: //blog.csdn.net/mybelief321/article/details/45445667

* Lu Yang Tech Studios

* Website: www.bigbearking.com

* Business cooperation QQ: 1519190237

Scope of service: construction sites, desktop software development, Android \ IOS development, film and television post-image processing, PCB design

***********************************************************************************************/
Published 143 original articles · won praise 161 · Views 1.21 million +

Guess you like

Origin blog.csdn.net/mybelief321/article/details/45445667