如果设备在开发者菜单中没有此选项(华为),是否可以在 Android(Xamarin.Forms) 上禁用 WiFi 节流?
Is it possible to disable WiFi throttling on Android(Xamarin.Forms) if the device does not have in Developer Menu this option(Huawei)?
我正在 Xamarin.Forms 开发一个应用程序,我尝试使用附近的 Wi-Fi 信号进行室内跟踪。但这是不可能的,因为 Android Wi-Fi 节流。
如果我的华为 P20 Pro 在开发者菜单中没有这个选项,我该如何禁用它?
是否可以使用其他选项来有效地扫描 Android 上的 Wi-Fi 信号,或者只要无法控制 Wi-Fi 节流就不可能?
根据wifi-scan-throttling docs,Android 10 在开发者菜单中有 Wi-Fi 节流选项。
Android 9: Each foreground app can scan four times in a 2-minute
period. This allows for a burst of scans in a short time. All
background apps combined can scan one time in a 30-minute period.
Android 10 and higher: The same throttling limits from Android 9
apply. There is a new developer option to toggle the throttling off
for local testing (under Developer Options > Networking > Wi-Fi scan
throttling).
Huawei P20 (P20/P20 Pro) (Android 9) 在 2020 年收到了 Android 10 和 EMUI 10 的系统更新。您可以更新它并从开发人员选项中关闭节流。
我是按照这个步骤做的How to quickly install and use ADB
最后我有了 运行 这个命令:
adb shell settings put global wifi_scan_throttle_enabled 0
这花了 3 分钟。 >))
我正在 Xamarin.Forms 开发一个应用程序,我尝试使用附近的 Wi-Fi 信号进行室内跟踪。但这是不可能的,因为 Android Wi-Fi 节流。
如果我的华为 P20 Pro 在开发者菜单中没有这个选项,我该如何禁用它?
是否可以使用其他选项来有效地扫描 Android 上的 Wi-Fi 信号,或者只要无法控制 Wi-Fi 节流就不可能?
根据wifi-scan-throttling docs,Android 10 在开发者菜单中有 Wi-Fi 节流选项。
Android 9: Each foreground app can scan four times in a 2-minute period. This allows for a burst of scans in a short time. All background apps combined can scan one time in a 30-minute period.
Android 10 and higher: The same throttling limits from Android 9 apply. There is a new developer option to toggle the throttling off for local testing (under Developer Options > Networking > Wi-Fi scan throttling).
Huawei P20 (P20/P20 Pro) (Android 9) 在 2020 年收到了 Android 10 和 EMUI 10 的系统更新。您可以更新它并从开发人员选项中关闭节流。
我是按照这个步骤做的How to quickly install and use ADB
最后我有了 运行 这个命令:
adb shell settings put global wifi_scan_throttle_enabled 0
这花了 3 分钟。 >))