相关问题
computeScroll() 方法鸿蒙有什么可以替代
5500浏览 • 1回复 待解决
在web页面中,有什么方式可以拉起APP
272浏览 • 1回复 待解决
@Override public void computeScroll() 方法鸿蒙有什么可以替代?
5212浏览 • 1回复 待解决
救命,没有上架的应用有什么方法可以直接安装?
4606浏览 • 1回复 待解决
player有什么方法可以设置播放速度吗?
5352浏览 • 1回复 待解决
传统的鸿蒙应用可以实现跨端迁移和多端协同吗?
8447浏览 • 3回复 待解决
Android 的 SparseArray 鸿蒙有什么可以替换?
6049浏览 • 2回复 待解决
有什么简单的方法可以关闭 nginx 容器的 access log?
1872浏览 • 1回复 待解决
有什么方法可以在Image组件加载svg图时改变svg里的fill的颜色值呢?
90浏览 • 0回复 待解决
客户端更新升级功能,可以应用内更新吗
1935浏览 • 1回复 待解决
ViewConfiguration.get(getContext()).getScaledTouchSlop() 鸿蒙有什么可以代替?
6361浏览 • 1回复 待解决
android 里的Typeface 鸿蒙有什么可以代替吗?
4825浏览 • 1回复 待解决
android.os.Message 鸿蒙有什么可以替换吗?
5299浏览 • 1回复 待解决
#鸿蒙学习大百科#如何实现Tabs导航栏在手机端在底部,在平板端在左边显示?
145浏览 • 1回复 待解决
鸿蒙系统怎么唤起微信
9923浏览 • 1回复 待解决
Android 的 BroadcastReceiver ,鸿蒙有什么接口可以用吗?
5812浏览 • 1回复 待解决
有32位电脑端的鸿蒙系统组件吗?
7857浏览 • 3回复 待解决
promptAction.showToast这个方法没有可以改变样式以及位置的属性,有什么替代的方法吗
1950浏览 • 1回复 待解决
各位认为开发鸿蒙应用与Web前端开发最大的差距是什么?
2536浏览 • 1回复 已解决
HarmonyOS在har 静态库里面能否检测app前后台切换,有什么方法?
247浏览 • 1回复 待解决
getLaunchIntentForPackage(包名)无法唤起应用怎么回事?
4109浏览 • 1回复 待解决
@Sendable编译报错,有什么方法解决?
1537浏览 • 1回复 待解决
HarmonyOS中hdc有相关的指令可以在安装应用时给应用授权么?或者在应用安装后给应用授予所需的敏感权限
739浏览 • 1回复 待解决
#鸿蒙学习大百科#应用的TokenID有什么作用?
66浏览 • 1回复 待解决
deeplink唤起其他应用在HarmonyOS上可行吗
220浏览 • 1回复 待解决
1.java组件有WebView 提供在应用中集成Web页面的能力
网址;https://developer.harmonyos.com/cn/docs/documentation/doc-guides/ui-java-component-webview-0000001092715158
2.java关于web的相关API,包名:ohos.agp.components.webengine.,此包还提供回调以获取网页信息并控制网页重定向。有关详细信息,请参阅WebAgent和BrowserAgent。软件包中的WebConfig用于提供与网页相关的设置选项。
网址:https://developer.harmonyos.com/cn/docs/documentation/doc-references/browseragent-0000001120951629
举例:
(1)WebView:此类继承自组件,包含基本组件的所有功能。此组件可用于加载网页内容、获取页面详细信息和控制页面跳转。您还可以使用数据功能加载本地网页文件。
网址:https://developer.harmonyos.com/cn/docs/documentation/doc-references/webview-0000001078480106
(2)WebAgent:处理WebView组件的事件和通知。
网址:https://developer.harmonyos.com/cn/docs/documentation/doc-references/webagent-0000001078160526
(3)WebConfig:管理WebView对象的配置状态。
网址:https://developer.harmonyos.com/cn/docs/documentation/doc-references/webconfig-0000001138633149
3.js组件有web ,展示网页内容的组能力
网址:https://developer.harmonyos.com/cn/docs/documentation/doc-references/js-components-web-0000001135254399
4.js中使用WebSocket建立服务器与客户端的双向连接
网址:https://developer.harmonyos.com/cn/docs/documentation/doc-references/js-apis-net-websocket-0000001123029768
试一下安卓支持的deeplink方案,鸿蒙应该也支持