Android WebView with Javascript calls behaving oddly
<p>I understand how to call Javascript from my WebView, that isn't the issue.</p>

<pre><code>if(javascriptCall!=null){
        String hardCodedexample = "1959602";
        webView.loadUrl("http://myappexample+ username);

        webView.loadUrl("javascript:" + "window.application.relocateTo({location:'patients/details',params:{EMPIID:"+ hardCodedEMPIID +"}})");
    }
</code></pre>

<p>javascriptCall is a String which is passed to my webview activity. hardCodedEMPIID is just an example for our testing. My problem is that when I allow the app the run normally on the device my javascript method doesn't seem to work. It loads the myappexample and I can't tell what happened with my javascript call.</p>

<p>When I debug the app and single step through the code it properly calls the method. I'm confused on how this is possible? the different between single step and normal execution.</p>
