eason1196 / hms-game-demo

GameServiceKit Android sample code encapsulates APIs of the HUAWEI GameSevice Kit. You can implement features like achievements and events faster, so you can quickly build the foundations for your game.

Home Page:https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/game-introduction?ha_source=hms1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game Service

English | 中文

Contents

Introduction

Game Service (Android) sample code encapsulates many Game Service APIs, which provides you with many sample programs for your reference or usage. The following describes the different packages of Android sample code:

achievement: sample code of the achievement feature.

archive: sample code of the saved games feature.

event: sample code of the event feature.

gamesummary: sample code of the basic game information feature.

playerstats: sample code for collecting the player statistics.

ranking: sample code of the leaderboards feature.

common: common elements and utilities.

You can also use HMS Toolkit to quickly run the demo project. HMS Toolkit supports one-stop kit integration and provides remote real devices for you to test your app for free. For details about HMS Toolkit, please visit document

Installation

Before using the sample code, check whether Android Studio has been set. Open the sample code in Android Studio and run TestApp on a mobile phone or simulator where the latest HMS Core (APK) is installed.

Environment Requirements

Android SDK (API level 17 or higher) is recommended.

Configuration

Before using the functions provided in the sample code, you need to configure your app information in AppGallery Connect. For details, please visit HUAWEI Game Service Development Preparation.

Result

Technical Support

You can visit the Reddit community to obtain the latest information about HMS Core and communicate with other developers.

If you have any questions about the sample code, try the following:

  • Visit Stack Overflow, submit your questions, and tag them with huawei-mobile-services . Huawei experts will answer your question.
  • Visit the HMS Core section in the Huawei Developer Forum and communicate with other developers.

If you encounter any issues when using the sample code, submit your issues or submit a pull request.

License

The sample code is licensed under Apache License, version 2.0.

For details, please refer to the following documents: Development Guide API Reference

About

GameServiceKit Android sample code encapsulates APIs of the HUAWEI GameSevice Kit. You can implement features like achievements and events faster, so you can quickly build the foundations for your game.

https://developer.huawei.com/consumer/en/doc/development/HMS-Guides/game-introduction?ha_source=hms1

License:Apache License 2.0


Languages

Language:Java 100.0%