# Android

Android 是一个开源、基于 Linux 的移动设备操作系统，适用于智能手机和平板电脑等设备。

使用下面的指南来配置您的 [**移动代理**](https://developers.oxylabs.io/documentation/cn/dai-li/mobile-proxies) 以用于移动网络 [**使用移动数据**](#using-mobile-data) 或 [**Wi‑Fi 网络**](#setting-up-a-proxy-for-a-wi-fi-network).

### 使用移动数据

**步骤 1。** 转到 **设置** > **网络和互联网** > **互联网**.

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FKx1I8WgMbDn7OuQEikM3%2Fimage.png?alt=media&#x26;token=a977257c-180a-48bf-9710-9058420f7db8" alt="Android network settings"><figcaption></figcaption></figure>

**步骤 2。** 点击您移动网络提供商的设置，向下滚动到底部，然后选择 **接入点名称 (APN)**.

**步骤 3。** 选择一个 **APN** 您当前正在使用的 APN 以配置 Android 代理设置。

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2Fs8sCRhPvnsrwQD7ZEThX%2Fimage.png?alt=media&#x26;token=b0ae3755-93f4-47be-83d0-9500a521cb62" alt="Configuring proxy"><figcaption></figcaption></figure>

**步骤 4。** 按以下说明填写设置字段：

{% hint style="info" %}
在为移动网络使用代理时，连接类型只能为 `HTTP` 。
{% endhint %}

**代理：** `pr.oxylabs.io`

**端口：** `7777`

{% hint style="info" %}
你也可以使用随机或带会话粘性的国家特定入口。例如，如果你在 `us-pr.oxylabs.io` 下输入 **代理** 和 `10000` 下输入 **端口**，你将获得一个美国出口节点。如果你输入 `10001` 下输入 **端口**，你将收到带有粘性会话的美国出口节点。你可以在这里找到完整的国家特定随机代理入口节点列表 [**此处**](https://developers.oxylabs.io/proxies/residential-proxies/country-specific-entry-nodes#random-proxy-entry-nodes) 以及粘性代理入口节点列表 - [**此处**](https://developers.oxylabs.io/proxies/residential-proxies/country-specific-entry-nodes#sticky-proxy-entry-nodes).
{% endhint %}

**用户名**: `Oxylabs 子用户的用户名`

**密码：** `Oxylabs 子用户的密码`

{% hint style="info" %}
您可以在我们的 [**仪表板**](https://dashboard.oxylabs.io/en/)**.**
{% endhint %}

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FieV8sKHzJDnVPtsX0bdc%2Fimage.png?alt=media&#x26;token=d3eb4d06-0302-481d-a925-648c7ecb64f0" alt="Proxy details"><figcaption></figcaption></figure>

**步骤 5。** 点击右上角的三个竖点并选择 **保存**.

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FtS3m8Z5dII1blm1vhB8b%2Fimage.png?alt=media&#x26;token=3c27c28b-6049-49a4-9c60-acee6d55b321" alt="Save changes"><figcaption></figcaption></figure>

**步骤 6。** 通过将连接关闭再打开来重启网络以应用更改。

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FDQmdPVeb8ArNkeIyue69%2Fimage.png?alt=media&#x26;token=53fb3db6-6d10-45d4-b513-adb4ae165060" alt="Restart the network"><figcaption></figcaption></figure>

**步骤 7。** 最后，打开您的网页浏览器，输入之前指定的凭据，然后按下 **登录**.

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FwoI5d2m76c8SyTv5JBve%2Fimage.png?alt=media&#x26;token=1600084b-3b02-4d0f-9cdf-b8fcb74a774e" alt="Sign in"><figcaption></figcaption></figure>

就这样！您现在正在使用具有代理 IP 地址的移动网络。

### 使用 Wi‑Fi 网络 <a href="#setting-up-a-proxy-for-a-wi-fi-network" id="setting-up-a-proxy-for-a-wi-fi-network"></a>

**步骤 1。** 转到 **设置** > **网络和互联网** > **互联网**.

**步骤 2。** 选择您当前的 Wi‑Fi 网络并选择设置图标以进入 **网络详情**.

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2F3fZ1qn47IyiBukV8Qu4Y%2Fimage.png?alt=media&#x26;token=5fbff8cc-ced6-46d4-ac17-07958c061cd9" alt="Network details"><figcaption></figcaption></figure>

**步骤 3。** 点击右上角的编辑按钮并展开 **高级选项** 部分以配置 Android 代理设置。

**步骤 4。** 在 **代理，** 选择 **手动** 并输入您的代理详细信息及凭据：

{% hint style="info" %}
在为移动网络使用代理时，连接类型只能为 `HTTP` 。
{% endhint %}

**代理主机名：** `pr.oxylabs.io`

**代理端口：** `7777`

{% hint style="info" %}
你也可以使用随机或带会话粘性的国家特定入口。例如，如果你在 `us-pr.oxylabs.io` 下输入 **代理主机名** 和 `10000` 下输入 **代理端口**，你将获得一个美国出口节点。如果你输入 `10001` 下输入 **代理端口**，你将收到带有粘性会话的美国出口节点。你可以在这里找到完整的国家特定随机代理入口节点列表 [**此处**](https://developers.oxylabs.io/proxies/residential-proxies/country-specific-entry-nodes#random-proxy-entry-nodes) 以及粘性代理入口节点列表 - [**此处**](https://developers.oxylabs.io/proxies/residential-proxies/country-specific-entry-nodes#sticky-proxy-entry-nodes).
{% endhint %}

**用户名**: `Oxylabs 子用户的用户名`

**密码：** `Oxylabs 子用户的密码`

{% hint style="info" %}
您可以在我们的 [**仪表板**](https://dashboard.oxylabs.io/en/)**.**
{% endhint %}

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2Fu2DxU4idG68l3ulLWzdw%2Fimage.png?alt=media&#x26;token=4d31ef9d-1039-4b21-9244-044c1255ad3a" alt="Configure proxy"><figcaption></figcaption></figure>

**步骤 5。** 最后，打开您的网页浏览器，输入之前指定的凭据，然后按下 **登录**.

<figure><img src="https://2655358775-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzrXw45naRpCZ0Ku9AjY1%2Fuploads%2FJLuP2GxZ3KZGvO6SolvO%2Fimage.png?alt=media&#x26;token=15da95ba-81ad-43c0-9ae5-053ef8921d2f" alt="Sign in"><figcaption></figcaption></figure>

就这样！您现在正在使用具有代理 IP 地址的 Wi‑Fi 网络。

查找原始的 Android 集成博客文章 [此处](https://oxylabs.io/resources/integrations/android).


---

# 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://developers.oxylabs.io/documentation/cn/dai-li/integration-guides/3rd-party-integrations-1/android.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.
