Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
The Java sample code package contains the following demo projects:
The UI SDK and fundamental capability SDK cannot be used together. For details, please refer to the README.md file in the demo project. This is because the API key and AppGallery Connect configuration file are not configured in the demo project. For details about how to configure them, please refer to Configuring App Information in AppGallery Connect and Integrating the HMS Core SDK.
| Sample Code | Find It on Gitee | Find It on GitHub |
|---|---|---|
| Android Studio sample code |
Before using the sample code, read the README file in the sample project carefully. Run the sample code only after you complete the following operations:
Sign in to AppGallery Connect, download the agconnect-services.json file of your app, and copy the file to the app directory of the sample project.
Open the build.gradle file in the sample project, and change the value of applicationId to your app package name.