Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 3.07 KB

README.md

File metadata and controls

52 lines (29 loc) · 3.07 KB

Huawei Mobile Services starter project

Welcome to Huawei's workshop at HackZurich 2020 !

You have a bunch of fresh ideas and you aspire to make them possible with the help of the Huawei Mobile Services. We feel your enthusiasm - that's why we prepared this starter project that will allow you to start coding immediately and avoid time consuming configuration steps.

I'm in!

  1. fork/clone this project
  2. visit the workshop Slack channel #03_ws05_huawei
  3. look for the file with secrets (direct link)
  4. unzip the file to the project's root
  5. start coding!

What just happened? Am I really ready to go?

Yes!! The starter project is a skeleton app that:

  • has all the HMS Kits added as dependencies
  • has all relevant permissions added to the manifest
  • is designed to be linked with a test account on App Gallery so no need to go through the process of creating an account, waiting for approval, enabling various HMS kits, download configuration files and adding a signing certificate fingerprint that authorizes you to use the kits.

The file with secrets is the link between the starter project and the test account. It contains:

  • the agconnect-services.json configuration file that empowers your project to talk to HMS servers
  • the signing configuration that authorizes your project to access HMS

But I don't have a Huawei HMS test device ...

There are solutions.

  1. If you're participating on-site, ask for a test device at the Huawei booth. Be fast, their number is limited.

  2. Temporary install HMS Core on your own device, the latest apk is located here.

  3. Cloud Debugging : this requires you to actually own/create a Huawei ID, but once that's done, you can just download the HMS Toolkit Android Studio plugin and access physical devices in the cloud.

Special needs

If the starter project is too simple for you or maybe you already have a Huawei developer account, following is a list of other sample projects, developed in house by engineers like you - that are maybe more suitable for your specialized tasks:

Happy hacking!

(and feel free to reach out to the support developers on the workshop Slack channel #03_ws05_huawei )