Anyone can help on this? I tried to catch exception in javascript but
doesn't work, is it because webview not support javascript exception
handling?
Thanks,
Kevin
On 4月8日, 上午4时47分, kevin kevin_x...@yahoo.com wrote:
My application uses WebView to load javascript which calls into Java
class
I think the answer is no. If java JavaScript calls Java, and the Java method
throws an uncaught exception, it kills the app process.
Your best bet is to put a try-catch block around every Java method that can
be called by Javascript.
Just curious. What kind of exception are you expecting? I have
2 matches
Mail list logo