android - Appinventor - Webview does not open app link
问题描述
I am trying in App inventor WebView to open an app link in the app store. The html link open the mobile version of playstore website, but this is not what i need.I need the link open the app in the Google Play Store app.
This html page is embedded in the WebView. Then the example with whatsapp App
<a href="https://play.google.com/store/apps/details?id=com.whatsapp">Buy it now</a>
I tried also market://
but it does not work.
解决方案
使用 webviewer 组件的WebViewString属性将 URL 传递回 App Inventor。然后使用 Activity Starter 在 Google Play 中打开应用程序。
推荐阅读
- python - 在 plotly 中实现多个链式回调
- python - 在 Azure Blob 存储中上传文件时出现 InvalidAuthenticationInfo 错误
- reactjs - react v5.2中的条件路由
- angular - 是否可以在 Golang 应用程序中嵌入 Angular?
- list - “项目和列表分配”下的 docs.raku.org 变量页面代码中可能存在的 BooBoo
- zapier - 在 Zapier Webhook 中设置 GT Metrix API
- docker - Docker CRIU:docker start 上出现“不支持自定义检查点目录”错误
- java - Android 中的除法错误值
- java - 遍历二维数组时,如何可视化循环在做什么?
- python - 如何通过按下按钮 kivy/kivymd/python 在另一个窗口中创建一个按钮