Skip to content

Latest commit

 

History

History

Xamarin

AppMessaging Xamarin.Android CodeLab

Introduction

This project is a CodeLab for developed using AppMessaging Xamarin.Android SDK.

Preparing the Environments

  • A computer can compile and run Xamarin project

Quick Start

  1. If you do not have a HUAWEI Developer account, you need to register an account and pass identity verification.
  2. Use your account to sign in to AppGallery Connect, create a project and add an Android app.
  3. Select your project and app in My projects, and go to "Grow > AppMessaging" to enable the AppMessaging service.
  4. Select AppMessaging page and creat a message.
  5. Select Project Settings, and go to Manage APIs, enable the AppMessaging Service.
  6. Go to General information, download the agconnect-services.json file and add it to the "./Assets" directory of the project directory. Note that you need to change the Android package name accordingly.
  7. Connect a Android devices, and run your project on IDEA.
  8. More details about AppMessaging Xamarin.Android Usage

Question or issues

If you have questions about how to use AppGallery Connect Demos, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with AppGallery.
  • Huawei Developer Forum AppGallery Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

License

This demo is licensed under the Apache License, version 2.0.