目录

Sample Code

Android Studio

The Site SDK provides place search services that allow your users to use location-based services more conveniently, helping you quickly acquire users. Click here to learn more.

The sample code covers the usage of most Site Kit APIs. Guided by the demo, you will learn how to implement the following functions:

Sample Code

Find It on Gitee

Find It on GitHub

Android Studio sample code (for Java and Kotlin)

Click here

Click here

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:

  1. 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.

  2. Open the build.gradle file in the sample project, and change the value of applicationId to your app package name.

Client Libraries

The Site SDK provides the Client Libraries utility class, which can help you quickly integrate all capabilities of Site Kit using multiple programming languages. Currently, this class supports the following clients:

Sample Code

Find It on GitHub

Client Libraries

Click here