首页»版块 兴趣街区 爱主题 小组件天气模块无法更新

小组件天气模块无法更新

[复制帖子标题和链接]

19056

听风的云  LV8  发表于 2024-5-4 18:19 安徽 来自:荣耀Magic5 至臻版
谢谢小组件好像调用的都是华为天气,8.0以后荣耀都是自己的天气了,点用不了了,我试了连华为天气共存也不行…唉

评论

这些小组件  发表于 2024-5-4 18:20  安徽
可以改下代码调用荣耀天气应该能,我鸿蒙系统,无荣耀天气,无法测试,感觉道理应该是这样 具体就是改下这段 <!-- 打开天气 --> <Button x=”550” y=”20” w=”400” h=”300”> <Triggers> <Trigger action=”up”> <IntentCommand action=”android.intent.action.MAIN” package=”com.huawei.android.totemweatherapp” class=”com.huawei.android.totemweatherapp.WeatherHome” condition=”#ct”/> <IntentCommand action=”android.intent.action.MAIN” package=”com.huawei.android.totemweather” class=”com.huawei.android.totemweather.WeatherHome” condition=”#ct”/> </Trigger> </Triggers> </Button>  发表于 2024-5-4 23:00  辽宁
不行啊,改了还不是不行,不知道哪里的问题  发表于 2024-5-5 11:11  安徽
您需要登录后才可以评论 登录 | 立即注册
简体中文 - China
快速回复 返回顶部 返回列表