Search code examples
androidapp-inventor

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.


Solution

  • Use the WebViewString property of the webviewer component to pass the URL back to App Inventor. Then use the Activity Starter to open the app in Google Play.

    How does the property Webviewer.WebViewString work?
    How to launch Google Play from within your app