怎样用c\c++开发啊有知道的吗?
可以参照文档https:developer.harmonyos.comcndocsdocumentationdocreferencesnativeapisoverview0000001200270701
如何把公共事件发布给其他设备
多设备协调可以看看codelab的这个例子https:developer.huawei.comconsumercncodelabsPortalcarddetailsDistributeDatabaseDraw
真机运行http请求没有返回
按照示例代码,可以获取请求数据,需要检查是否添加网络权限。网络请求可以参考:https:developer.harmonyos.comcndocsdocumentationdocreferencesjsapisnethttp0000001168304341
WebView层级问题有知道的吗?
WebView是组件最高级,可以用commondialog覆盖WebView,或者参考其他人https:harmonyos.51cto.composts7241
如何在多个相同类型的picker组件中赋不同值?
将selected的值设置在数组中,点击对应的按钮可以展示对应的picker,默认值也会根据数组中设置的值显示<listclass"listBox"><listitemclass"listItem"for"(idx,item)inlistData"><buttonclass"btn"click"clickHere(item.name)">item{{item.name}}<button><pickerid"picker{{item.name}}"selected"{{item.textselect}}"range"{{rangetext}}"><picker><listitem><list>
卡片里怎么更换图片有知道的吗?
更新卡片的时候变更图片URL就行了参考电影卡片demo链接:https:developer.huawei.comconsumercncodelabsPortalcarddetailsHarmonyOSJSMovieCardhttps:gitee.comharmonyosharmonyoscodelabstreemasterJSMovieCard
关于 JS UI 开发的应用的问题?
可以在config.json里设置:"abilities":[{..."configChanges":["orientation"],...}
Listcontainer多类型复杂布局包含listcontainer出现卡顿
在适配ListContainer的数据时,无论是新创建的列表项实例,还是从缓存中获取到的,都需要调用方法findComponentById()获取所有子组件并进行数据填充,大量调用该方法,会损耗ListContainer的性能ListContainer性能优化请参看文档:https:developer.harmonyos.comcndocsdocumentationdocguidesuijavacomponentlistcontainer0000001060007847section18923151214237