I've tried executing the javascript in an async task, which I thought
would fix any threading issues.  But I get the same issue.  How do you
have your threads specified when you run yours?  Are you running this
from a WebView subclass or from a separate class for you javascript
interface?  I've tried both.

On Jan 18, 11:41 am, Streets Of Boston <[email protected]>
wrote:
> mmmmmmmm... we use it successfully all over the place.
> For some reason, it seems that the stack-frame of your call to loadUrl in
> your code needs to finish before the javascript in 'code' is actually
> executed. The call to 'loadUrl' should cause the javascript to be executed
> on a separate thread in the WebView. On what thread are you calling
> 'getJSValue(...)'? If this is the same thread on which the javascript is
> executed, then you get a dead-lock.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to