We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Client Sample Code

Android Studio

The Android Studio project provides sample code for using basic APIs of the Safety Detect SDK.

Sample Code

Find It on Gitee

Find It on GitHub

Java sample code

Click here

Click here

Kotlin sample code

Click here

Click here

SysIntegrity

The project provides sample code for using the SysIntegrity API of the Safety Detect SDK.

Sample Code

Find It on Gitee

Find It on GitHub

Java sample code

Click here

Click here

Kotlin sample code

Click here

Click here

AppsCheck

The project provides sample code for using the AppsCheck API of the Safety Detect SDK.

Sample Code

Find It on Gitee

Find It on GitHub

Java sample code

Click here

Click here

Kotlin sample code

Click here

Click here

URLCheck

The project provides sample code for using the URLCheck API of the Safety Detect SDK.

Sample Code

Find It on Gitee

Find It on GitHub

Java sample code

Click here

Click here

Kotlin sample code

Click here

Click here

UserDetect

The project provides sample code for using the UserDetect API of the Safety Detect SDK.

Sample Code

Find It on Gitee

Find It on GitHub

Java sample code

Click here

Click here

Kotlin sample code

Click here

Click here

WifiDetect

The project provides sample code for using the WifiDetect API of the Safety Detect SDK.

Sample Code

Find It on Gitee

Find It on GitHub

Java sample code

Click here

Click here

Kotlin sample code

Click here

Click here

NOTE

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.

Search
Enter a keyword.