我需要一种以编程方式打开"高级wifi"设置的方法,让用户更改某些设置,或者最好以编程方式更改这些高级无线设置.
到目前为止,我只能通过startActivity(新的Intent(Settings.ACTION_WIFI_SETTINGS))访问wi-fi设置,但不能访问高级设置.
有没有办法打开"高级wifi"设置?
我卸载了 Whatsapp 并使用以下方法保留其数据:
adb.exe shell pm uninstall -k com.whatsapp
Run Code Online (Sandbox Code Playgroud)
然后我尝试安装旧版本的 Whatsapp,但即使使用 -r -d 标志也收到以下错误消息:
>adb install -r -d tmp\LegacyWhatsApp.apk
1738 KB/s (18329558 bytes in 10.298s)
Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
Run Code Online (Sandbox Code Playgroud)
我使用的是 Windows 10 和 Pixel XL Android 版本 7.1.2