The BannerExample program demonstrates how to integrate the HMS Core Ads SDK into an Android app and display ads.
Install the program on Huawei Android mobile phones.
HMS Core (APK) 4.0.0 or later has been installed on Huawei Android phones.
The BannerExample program integrates the HMS Core Ads SDK and provides the page for displaying banner ads.
The following class in the demo is used for loading and displaying ads:
MainActivity.java
Loads and displays banner ads.
Code location:BannerExample\app\src\main\java\com\example\bannerexample\MainActivity.java
BannerExample is licensed under the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).