I have an app with a WebView. In the webview the app shows to the user an Internet Page that have a link that launch my app, but in another Activity.
In the html page I was doing something like

```
<a href="my.special.scheme://other/parameters/here"></a>

```

And everything goes fine, but I need to do the same thing with Javascript. So am doing this:

```
<html>
<head>
<script>
function redirect(n){
window.location = n;
}
</script>
</head>
<body>
<button id="target"  onClick="redirect('my.special.scheme://other/parameters/here')" >Name</button>
</body>
</html>

```

But nothing happens.
Am using Android 1.6

Any suggestion?