diff --git a/Codelabs/Ads-Splash/README.md b/Codelabs/Ads-Splash/README.md index 24ca3d2..4dd9fe6 100644 --- a/Codelabs/Ads-Splash/README.md +++ b/Codelabs/Ads-Splash/README.md @@ -16,20 +16,20 @@ ## Installation Install the program on Huawei Android mobile phones. - -## Supported Environments - HMS Core (APK) 4.0.0 or later has been installed on Huawei Android phones. ## Configuration N/A - + +## Supported Environments + HMS Core (APK) 4.0.0 or later has been installed on Huawei Android phones. + ## Sample Code The SplashAdExample program integrates the HMS Core Ads SDK and provides the page for displaying splash ads. The following class in the demo is used for loading and displaying ads: SplashActivity.java Loads and displays splash ads. - Code location:SplashAdExample\app\src\main\java\com\example\splashadexample\SplashActivity.java + Code location:SplashAdExample\app\src\main\java\com\example\splashadexample\SplashActivity.java ## License SplashAdExample is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0). diff --git a/Codelabs/GameKit/.gitignore b/Codelabs/GameKit/.gitignore deleted file mode 100644 index 2b75303..0000000 --- a/Codelabs/GameKit/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -*.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures -.externalNativeBuild diff --git a/Codelabs/GameKit/gamekitdemo/gamekitdemo.iml b/Codelabs/GameKit/gamekitdemo/gamekitdemo.iml new file mode 100644 index 0000000..f407c99 --- /dev/null +++ b/Codelabs/GameKit/gamekitdemo/gamekitdemo.iml @@ -0,0 +1,94 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Codelabs/GameKit/gamekitdemo/src/main/java/com/huawei/game/gamekitdemo/DemoMainActivity.java b/Codelabs/GameKit/gamekitdemo/src/main/java/com/huawei/game/gamekitdemo/DemoMainActivity.java index 81a9b05..63f55cf 100644 --- a/Codelabs/GameKit/gamekitdemo/src/main/java/com/huawei/game/gamekitdemo/DemoMainActivity.java +++ b/Codelabs/GameKit/gamekitdemo/src/main/java/com/huawei/game/gamekitdemo/DemoMainActivity.java @@ -1,5 +1,5 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2019-2019. All rights reserved. + * Copyright (c) Huawei Technologies Co., Ltd. 2019-2020. All rights reserved. */ package com.huawei.game.gamekitdemo; diff --git a/Codelabs/GameKit/gamekitdemo/src/main/res/layout/activity_demo_main.xml b/Codelabs/GameKit/gamekitdemo/src/main/res/layout/activity_demo_main.xml index 98a8ff2..479f1e5 100644 --- a/Codelabs/GameKit/gamekitdemo/src/main/res/layout/activity_demo_main.xml +++ b/Codelabs/GameKit/gamekitdemo/src/main/res/layout/activity_demo_main.xml @@ -9,27 +9,27 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="fill" - android:text="注册(有Callback接口)" /> + android:text="Register" />