Android Studio Webview open link directly on Google Play
<p>I have a Web App that loads locally html.</p>

<p>In one html, I have a link to a Google Play app, but the link opens inside the app, inside the webview.</p>

<p>On iOS devices any link <a href="https://itunes.apple.com/app/id000" rel="nofollow">https://itunes.apple.com/app/id000</a> will automatically open iTunes/App Store on the devices.</p>

<p>Is there a way to open the Google Play app directly from an html?</p>

<p>I'm trying _blank or the market:// as suggested on other questions, but nothing works.</p>

<pre><code>&lt;a href="http://market.android.com/details?id=com.google.earth" target="_blank"&gt;App Link&lt;/a&gt;

&lt;a href="market://details?id=com.google.earth" target="_top"&gt;App Link 2&lt;/a&gt;
</code></pre>

<p>Thanks!</p>