Xamarin uses Aurora to push detailed tutorials

Source: Internet
Author: User

Source: http://download.csdn.net/download/kendocross/8677263 interested to see to see

First, create a new Xamarin.android project, the process is not a table.

Second, for the Aurora Push SDK, Bindingslibrary.

Bindingslibrary, the official website is here http://developer.xamarin.com/guides/android/advanced_topics/java_integration_overview/ Binding_a_java_library_ (. jar)/

2.1

2.2 The jar package for the Aurora Push SDK is included under the jars package in the project

2.3 Jar File Property generation operation, select Embeddedjar.

2.4 Generated once.

Third, the Android project references.

Add a reference to the Bindingslibrary in the 3.1 project.

3.1 Create the Jars folder in the Android project, and put the corresponding. So file in the Aurora SDK.

3.2 So file selection to generate that type.

Four, the configuration of Android. This part has nothing to do with the Xamarin platform itself, you have to do with Java for Android development. This section is best followed by the Aurora Demo and configuration deployment instructions.

4.1 Note the following areas must be consistent with the package name of your project ...

4.2 added in the application configuration, part of the Aurora push must be required, note the two need to change the package name.

4.3 is your own definition of the push broadcast receiver, note the front to lowercase.

4.4 Here need the Aurora keys, we go to Aurora application.

V. Aurora Application Section

5.1 https://www.jpush.cn/common/accounts/signin/

Good people to the bottom, I registered a test account, password: Kendocross Everyone can log in with

5.2 Creating an App

5.3 The application package name, which is the one in your config file, must be kept consistent ....

5.4 Succeeded in getting our key,

5.5 Configure this key

Vi. active initialization of the Aurora SDK.

6.1 Here you can take a look at the Aurora demo and initialize it.

6.2 Actively join the Setdebugmode () method to see if the SDK is initializing properly in the output of vs.

6.3, the output can see the relevant information Jpush, send a push to try.

Xamarin uses Aurora to push detailed tutorials

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.