某些Android应用程序访问互联网的频率太高,而您可能不希望这样。无论是因为它们更快地消耗您的数据计划还是最终使用过多的电池,您可能想知道如何关闭Android中特定应用程序的蜂窝访问、 (Android)Wi-Fi访问或两者兼而有之。也许您有其他喜欢离线使用的应用程序,并且想知道如何阻止应用程序使用数据。事不宜迟,以下是在Android智能手机和平板电脑上限制互联网访问的方法:
注意:(NOTE:)一些智能手机仍然允许使用内置工具进行这种级别的控制,但许多制造商(如三星(Samsung))已经取消了单独限制每个应用程序访问互联网的能力。本文的第一部分处理内置工具,而第二部分描述了一个安全且简单的第三方替代方案,它可以做同样的事情。如果您拥有三星(Samsung)智能手机,请跳至第二种方法。
1. 如何使用内置工具关闭Android中特定应用的蜂窝和 Wi-Fi 数据(Android)
从Android 11开始,越来越多的厂商移除了单独控制每个应用的网络访问的选项。对于那些仍在使用具有此功能的智能手机的人来说,第一章中使用的名称可能会略有不同,因为每个制造商都对其Android用户界面进行了广泛的定制。我们在本节中使用了搭载Android 10的(Android 10)华为 P30(Huawei P30),但许多智能手机的步骤应该类似。
如何使用网络(Network)访问部分关闭Android中特定应用的蜂窝和 Wi-Fi 数据(Android)
阻止互联网访问应用程序的第一种方法是打开设置(Settings)(opening Settings)并转到移动网络(Mobile network)。在 Android移动网络(Mobile network)设置中,点击数据使用情况(Data usage)。
访问数据使用部分
接下来,点击网络访问(Network access)。现在,您会看到所有已安装应用程序的列表以及它们访问移动数据和Wi-Fi的复选标记。要阻止应用访问互联网,请取消选中其名称旁边的两个框。如果您只想关闭某些应用程序的移动访问,请取消选中这些应用程序的移动数据(Mobile data)框,然后选中Wi-Fi。
Android 设置(Android Settings)- 阻止应用访问互联网
默认情况下,Android仅向您显示您安装的应用程序列表。如果您希望列表包含系统应用程序,请点击屏幕右上角的菜单按钮,然后选择“显示系统进程”。(“Show system processes.”)然后,您也可以阻止系统应用程序访问互联网,但仅限移动数据(Mobile data)而不是Wi-Fi。这是Google设计的一项限制,可确保您的系统应用程序连接到互联网,至少在您连接到Wi-Fi时是这样。
Android 设置(Android Settings)-阻止(Block)系统应用访问移动数据
完成配置应阻止哪些应用程序在您的Android设备上访问互联网后,关闭设置(Settings)。当您打开已阻止访问互联网的Android应用程序时,您会收到如下所示的通知。(Android)不要点击删除(Remove),因为您要删除此限制。如果您想继续阻止该应用程序访问互联网并继续离线使用,请点击取消。(Cancel)
Android应用(Android)程序被限制使用Wi-Fi网络
提示:(TIP: )您(Did)是否知道Android还允许您对您使用的应用程序设置数据限制,并且您可以配置您的设备以自动控制它们使用的数据量?有关更多详细信息,请查看以下两个指南:如何检查数据使用情况并在 Android(How to check the data usage and limit it on Android)和Android 数据保护程序上对其进行限制以及如何启用它(The Android Data Saver and how to enable it)。
如何使用“应用(Apps)”部分为Android中的特定应用切换蜂窝和(Android)WiFi数据
如果您在移动网络相关设置中没有看到网络访问(Network access)部分,您可以尝试手动调整每个应用的设置。它更耗时,但它可以完成工作。首先访问设置(Settings),然后转到应用程序(Apps)。在下一个屏幕上,点击应用程序(Apps)。
转到“设置”应用中的“应用”
接下来,向下滚动到要阻止的应用程序,然后点击它。在下一个屏幕上,查找名为“数据使用(Data usage)”的设置并访问它。
选择您要阻止的应用程序,然后点击数据(Data)使用
此屏幕显示所选应用程序在固定时间段内完成了多少互联网流量。在此图下方,有一个部分包含网络访问权限。只需(Simply)切换移动数据(Mobile data)和/或Wi-Fi旁边的开关,具体取决于您要应用的限制。请(Please)注意,Wi-Fi开关并非对所有应用程序都可用,并且无法使用内置工具来阻止它们。
切换开关以启用或禁用互联网访问
如果您在数据使用(Data usage)部分中没有看到移动数据(Mobile data)和Wi-Fi开关,可能是因为您的智能手机没有阻止单个应用程序的本机功能。如果是这种情况,请不要担心,因为有解决方案。继续下一节学习它。
2. 如何通过NetGuard(三星 Galaxy(Samsung Galaxy)、Google Pixel和其他智能手机)阻止Android 12上的应用程序使用互联网
如果您使用的智能手机或平板电脑由三星(Samsung)、谷歌(Google)或任何其他已迁移至 Android 12(或软件版本低于Android 10)的品牌制造,您可能无法访问我们的设置。已经在前面的方法中显示。在这种情况下,您唯一的选择是使用像NetGuard这样的应用程序,它充当Android操作系统之上的防火墙。在您的Android(Android)智能手机或平板电脑上安装该应用程序。如果您需要一些帮助,请阅读我们关于如何使用 Google Play 商店安装适用于 Android 的应用和游戏的(How to use Google Play Store to install apps and games for Android)指南。安装完成后,启动NetGuard应用程序并接受条款和条件(当然,如果您同意它们)。请(Please)注意,除非您启用顶部的开关,否则该应用程序不会执行任何操作,因此这是您在继续之前应该做的第一件事。也为一些弹出窗口做好准备:) 。(Get)拨动开关后,NetGuard 会(NetGuard)通知您它使用本地VPN过滤互联网流量,以阻止您选择的应用程序访问互联网。这个应用程序的伟大之处在于它不会像其他类似应用程序那样将您的互联网流量发送到远程服务器。点击确定(OK)进入下一步。
一、激活NetGuard
然后,NetGuard请求允许设置VPN连接以监控网络流量。再次点击确定(OK)。然后,该应用程序建议您为其禁用Android电池优化,以便操作系统不会阻止NetGuard在后台运行。点击确定(OK)跳转到设置(Settings)应用程序的相关部分。
应为NetGuard禁用 Android 电池优化(NetGuard)
在现在加载的电池优化屏幕上,选择(Battery optimization)所有应用程序(All apps),然后在列表中找到NetGuard。点击它以访问所需的设置。
(Choose All)在下拉菜单中选择所有应用程序,然后选择NetGuard
选择不优化(Don't optimize),然后点击完成(Done)。这应该使NetGuard可以无限期地在后台运行,以强制执行限制。
禁用NetGuard(NetGuard)的电池优化
接下来,返回应用程序。您现在所要做的就是点击列表中每个应用程序旁边的图标,以允许或拒绝访问移动网络或Wi-Fi。当您这样做时,您会看到它们的图标从绿色变为橙色。这些应用程序现在被阻止访问您的Android设备上的互联网。
应用电池优化设置后,随意阻止所需的应用程序
您如何选择阻止您的Android应用访问互联网?
现在您知道了两种阻止Android上的应用程序上线的方法。您已经了解了如何在具有数据使用(Data usage)设置的设备以及不包含这些设置的设备(例如三星(Samsung)和其他制造商制造的设备)上阻止来自 Internet 的应用程序。我们之所以选择推荐NetGuard,是因为它具有简单的界面并且使用起来非常安全。在结束本文之前,请告诉我们您的体验以及哪种解决方案适合您。
2 ways to block Android apps from accessing the internet -
Ѕome Android apps access the internet too often, and you might not want that. Whether it's because they consume your data plan faster or thеy еnd up usіng too much bаttery, уou might want to know how to turn off cellular access, Wi-Fi access, or both for specific apps іn Android. Maybe you have othеr apps that yоu prefer to usе offline, and you're wondering how to block apps from using data. Withoυt further ado, here's how to restrict internet access on Android smartphones and tabletѕ:
NOTE: Some smartphones still allow this level of control using built-in tools, but many manufacturers (like Samsung) have removed the ability to restrict access to the internet for each app separately. The first section of this article handles built-in tools, while the second describes a safe and simple third-party alternative that does the same thing. If you own a Samsung smartphone, skip to the second method.
1. How to turn off cellular and Wi-Fi data for specific apps in Android using built-in tools
Starting from Android 11, more and more manufacturers have removed the option to control network access for each app separately. For those of you who still use smartphones that have this function, the names used in this first chapter might be slightly different, due to the extensive customization that each manufacturer makes to its Android user interface. We used a Huawei P30 with Android 10 for this section, but the steps should be similar for many smartphones.
How to turn off cellular and Wi-Fi data for specific apps in Android using the Network access section
The first method to block internet access to an app starts by opening Settings and going to Mobile network. In the Android Mobile network settings, tap on Data usage.
Access the Data usage section
Next, tap on Network access. Now you see a list of all your installed apps and checkmarks for their access to mobile data and Wi-Fi. To block an app from accessing the internet, uncheck both boxes next to its name. If you want to turn off only mobile access for certain apps, uncheck the Mobile data box for those apps, and leave Wi-Fi checked.
Android Settings - block apps from accessing the internet
By default, Android only shows you the list of apps that you installed. If you want the list to include system apps, tap the menu button from the top-right corner of the screen, and select “Show system processes.” You can then block internet access for system apps too, although only for Mobile data and not for Wi-Fi. This is a restriction designed by Google that ensures your system apps get connected to the internet, at least when you are connected to Wi-Fi.
Android Settings - Block system apps from accessing mobile data
When you are done configuring which apps should be blocked from accessing the internet on your Android device, close the Settings. When you open an Android app that you've blocked from accessing the internet, you get a notification like the one below. Do not tap Remove because you are going to remove this restriction. Tap Cancel instead if you want to continue blocking that app's access to the internet and keep using it offline.
An Android app is restricted from using Wi-Fi networks
TIP: Did you know that Android also lets you put data limits for the apps you use and that you can configure your device to automatically control how much data they use? For more details, check these two guides: How to check the data usage and limit it on Android and The Android Data Saver and how to enable it.
How to toggle cellular and WiFi data for specific apps in Android using the Apps section
If you don’t see a Network access section in your mobile network-related settings, you can try manually adjusting the settings for each app. It’s more time-consuming, but it gets the job done. Start by accessing Settings, then go to Apps. On the next screen, tap on Apps.
Go to Apps in the Settings app
Next, scroll down to the app that you want to block, then tap on it. On the next screen, look for a setting called Data usage and access it.
Select the app you want to block, then tap on Data usage
This screen shows how much internet traffic the selected app has done over a fixed period. Below this graph, there is a section containing network access permissions. Simply toggle the switches next to Mobile data and/or Wi-Fi, depending on what restrictions you want to apply. Please note that the Wi-Fi switch is not available for all apps, and blocking them can’t be done using built-in tools.
Toggle the switches to enable or disable internet access
If you don’t see the Mobile data and Wi-Fi switches in the Data usage section, it could be because your smartphone doesn’t have the native ability to block individual apps. If this is the case, worry not, as there is a solution. Proceed to the next section to learn it.
2. How to block apps on Android 12 from using the internet with NetGuard (Samsung Galaxy, Google Pixel, and other smartphones)
If you’re using a smartphone or tablet made by Samsung, Google, or any other brand that has already moved to Android 12 (or one that has a software version older than Android 10), you might not have access to the settings we've shown in the previous methods. In this case, your only option is to use an app like NetGuard, which acts as a firewall on top of the Android operating system. Install the app on your Android smartphone or tablet. If you need some help with that, read our guide on How to use Google Play Store to install apps and games for Android. After installation is complete, start the NetGuard app and accept the terms and conditions (of course, if you agree with them). Please note that the app doesn't do anything unless you enable the switch at the top, so this is the first thing you should do before moving forward. Get ready for some pop-ups too :). Once you flip the switch, NetGuard informs you that it uses a local VPN to filter the internet traffic to block internet access for the apps you select. The great thing about this app is that it doesn't send your internet traffic to a remote server, as other similar apps do. Tap OK to go to the next step.
First, activate NetGuard
Then, NetGuard asks permission to set up a VPN connection to monitor the network traffic. Tap OK one more time. The app then recommends you disable the Android battery optimizations for it so that the operating system doesn't stop NetGuard from running in the background. Tap on OK to jump to the relevant section of the Settings app.
Android battery optimizations should be disabled for NetGuard
On the Battery optimization screen that's loaded now, choose All apps, and find NetGuard on the list. Tap on it to access the required setting.
Choose All apps in the drop-down menu, then select NetGuard
Select Don't optimize and then tap Done. This should enable NetGuard to run in the background indefinitely, in order to enforce the restrictions.
Disable battery optimization for NetGuard
Next, go back to the app. All you have to do now is tap on the icons next to each app in the list to allow or deny access to the mobile network or the Wi-Fi. When you do that, you see that their icons turn from green to orange. Those apps are now blocked from accessing the internet on your Android device.
After applying the battery optimization setting, feel free to block the desired apps
How did you choose to block your Android apps from accessing the internet?
Now you know two methods to block apps on Android from going online. You've seen how to block apps from the internet on devices with Data usage settings, as well as on devices that don't include these settings, like those made by Samsung and other manufacturers. We chose to recommend NetGuard because it has a simple interface and it’s perfectly safe to use. Before you close this article, tell us about your experience and which solution worked for you.