首页 > 解决方案 > 如何在模拟器中控制 WiFi?

问题描述

我想通过我的 python 代码在 genymotion 设备中控制我的 WiFi 设置(只是关闭和打开它)。你有什么建议吗?我通过从导航菜单中单击来尝试它,但我知道不同的设备具有不同的 WiFi 可访问性 ID!

标签: pythonwifiemulationgenymotion

解决方案


You can use genyshell with command genyshell -c "network setprofile no-data". See https://docs.genymotion.com/desktop/latest/05_Genymotion_Shell.html.


推荐阅读