首页 > 解决方案 > 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.

标签: androidapp-inventor

解决方案


使用 webviewer 组件的WebViewString属性将 URL 传递回 App Inventor。然后使用 Activity Starter 在 Google Play 中打开应用程序。

Webviewer.WebViewString 属性如何工作?
如何在您的应用内启动 Google Play


推荐阅读