For links to work, you must have installed the application on your device / emulator. Your application must also request permission to access the network.
UPD: as a workaround, you can call java code from a web view, for example, if you create such links:
<a href="javascript:go('market://your.path.to.market.app')">..</a>
Define a javascript function called go ():
<script type="text/javascript"> function go(link) { if (handler) { handler.go(link); } else { document.location = link; } } </script>
Then you can pass the handler object to the WebView:
webview.addJavascriptInterface(new Handler() { @Override public void go(String marketUrl) { //start market intent here } }, "handler");
The handler interface can be defined as follows:
public interface Handler{ public void go(String url); }
Konstantin Burov Aug 27 '10 at 10:53 on 2010-08-27 10:53
source share