Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
The Android Studio project contains the Java and Kotlin sample code for using basic Keyring functions, such as credential management, key synchronization, and backup and restoration of sensitive data.
Sample Code |
Find It on Gitee |
Find It on GitHub |
|---|---|---|
Java sample code |
||
Kotlin 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.