java - Webview running on wrong thread exception -


initially loading link in webview since sample app. work fine till api 4.1 .throws exception when loading same in ver 4.3 onwards.

code:

this.runonuithread(new runnable() {         @override         public void run() {             if (loadthisurl != null) {                 simpbrowser.loadurl(loadthisurl);             }          } }); 

the logcat:

03-24 10:45:27.580: a/libc(27538): fatal signal 6 (sigabrt) @ 0x00006b92 (code=-6),    thread 27568 (e.simplebrowser) 

i tried running on ui thread still same issue. load url , seem work. points on how or i'm going wrong helpful.


Comments

Popular posts from this blog

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -