# Android WebView Demo

## 方式1：下载 Demo

### 点击下载：[`Andriod_x5demo`](https://doc.shangzhibo.tv/DEMO/Andriod_x5demo.zip)

### 使用说明

该 Demo 使用腾讯 X5 WebView 实现，通过链接下载 Demo 后解压缩，在 Android Studio 中打开即可。

## 方式2：安装 APK 体验（X5 功能演示）

点击下载：[`Android_x5webdemo-release.apk`](https://doc.shangzhibo.tv/DEMO/Android_x5webdemo-release.apk)

### 使用说明

可以直接下载 APK 文件，安装在 Android 手机中

1、打开 APP X5 功能演示

2、输入上直播观看页地址，如：<https://shangzhibo.tv/watch/9121696>

3、点击“进入”按钮，则可体验 WebView 嵌入后的效果，如下图所示：

![](/files/-Lqt1R2zTL5CMRKkVELP)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shangzhibo.gitbook.io/api/ios-webview-demo/android-webview-demo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
