Hi, I am developing some web app in which I have written one js file having some functions and kept it in app's asset folder.
My app loads some html page located at some remote server and calls the function defined in local js file of app. I use loadUrl function of webview to load local js files kept in asset folder with onCreate of app and fuction call from first page loaded in webview works fine but problem starts when new page loaded in same webview and try to call the function which is defined in local js file. I tried putting call of webview.loadurl for loading local js files in all notification like onLoadResource,onPageFinished,onPageStarted of WebViewClient but behavior is not consistent with any notification. For Example if in html file, from onLoad of body, function call(defined is assets's js file ) has been made then most of the time I get undefined reference error. Kindly help me to identify the exact point from where if I load my assest's js function in webview for a page then it will surely available for that page. Thanks in advance Dinmani Ujjwal -- 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

