gpt4 book ai didi

android - 如何启用与 on{x} 的同步

转载 作者:太空狗 更新时间:2023-10-29 13:34:31 25 4
gpt4 key购买 nike

有没有办法打开/关闭与 on{x} 同步脚本?

最佳答案

根据on{x} documentation , 没有。

您可以使用 mobileDataEnabled(get; set;) 打开/关闭移动数据使用,但这可能不是您想要的。

实际上,再三考虑,您可以编写一个 native Android 应用程序来接收自定义 Intent 并切换同步设置,然后使用 launch(String appName, Object params, Object 从 on{x} 调用它回调)。参见 the applications section on{x} 文档的更多信息。

...和general sync settings "auto-sync" checkbox programtically可能会帮助您制作这样的原生应用。

关于android - 如何启用与 on{x} 的同步,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12040136/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com