Issue
I know we can call js function from Webview. like this
webview.loadUrl("javascript:functionName('param')");
But in case function is like below js object.functionName.
pap.changeLanguage = function(a, n) { $("body").addClass("lang-loading"), setParameterByName("language", a + "-" +Country),initDDBViewerLang()}
Note: We can't change anything from js/html side. we need handle from app side only.
Solution
I resolve, we can call js function with js object name dot function name
view.loadUrl("javascript:pap.changeLanguage('" + value0 + "','"+value1+"')");
Answered By - Narendra
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.