# Android

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

使用以下指南来配置您的数据中心代理 用于 [**使用移动数据**](#using-mobile-data) 或 [**Wi‑Fi 网络**](#setting-up-a-proxy-for-a-wi-fi-network).

{% hint style="warning" %}
**注意：** 本指南中提供的部分截图为示例目的展示了使用 住宅代理 的设置过程，请参考正文中提供的 数据中心代理 具体指南。
{% endhint %}

### 使用移动数据

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

<figure><img src="/files/9d55823aacf64875c8bdbeaec855bfa20daa4ac2" alt="Android network settings"><figcaption></figcaption></figure>

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

**步骤 3。** 选择一个 **APN** ，你当前正在使用它来配置 Android 代理设置。

<figure><img src="/files/6529547a2180ae94a1c88c10b81de171dc3840cd" alt="Configuring proxy"><figcaption></figcaption></figure>

**步骤 4。** 按如下所示填写设置字段：

{% hint style="warning" %}
在为移动网络使用代理时，连接类型可以是 `HTTP` 仅限。
{% endhint %}

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

**端口：** `8000`

{% hint style="info" %}
端口 `8000` 将选择一个随机 IP 地址。对于其他设置，例如代理 IP 轮换，请访问 [此文档页面](https://developers.oxylabs.io/proxies/datacenter-proxies/ip-control).
{% endhint %}

**用户名**: `user-username`

**密码：** `密码`

{% hint style="warning" %}
别忘了添加 `user-` 这一部分到您的用户名中。
{% endhint %}

<figure><img src="/files/b7b23375905002016c249eb33f640b0e1b1588cf" alt="Proxy details"><figcaption></figcaption></figure>

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

<figure><img src="/files/9748636cfcdb63d03e81216fcf56ea361b04c6fc" alt="Save changes"><figcaption></figcaption></figure>

**步骤 6。** 通过关闭并重新开启连接来重新启动网络，以应用你的更改。

<figure><img src="/files/e6681d2c2087901c037ab9cb69cf0ee661899290" alt="Restart the network"><figcaption></figcaption></figure>

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

<figure><img src="/files/de2384f8fd52d3d13338298991330fdcb0113da8" 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="/files/2db1df28744f3b8aefc21829f671c239a4a79dfb" alt="Network details"><figcaption></figcaption></figure>

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

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

{% hint style="warning" %}
在为 Wi‑Fi 网络使用代理时，连接类型可以是 `HTTP` 仅限。
{% endhint %}

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

**代理端口：** `8000`

{% hint style="info" %}
端口 `8000` 将选择一个随机 IP 地址。对于其他设置，例如代理 IP 轮换，请访问 [此文档页面](https://developers.oxylabs.io/proxies/datacenter-proxies/ip-control).
{% endhint %}

**用户名**: `user-username`

**密码：** `密码`

{% hint style="warning" %}
别忘了添加 `user-` 这一部分到您的用户名中。
{% endhint %}

<figure><img src="/files/eb09377385d5aad373a6a8294c7232c7245f8507" alt="Configure proxy"><figcaption></figcaption></figure>

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

<figure><img src="/files/69098565d40e9c13cf0e6c66a8b4ad8f1a531df5" 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/integrations/cn/proxy-integrations/datacenter-proxies-guides/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.
