Wednesday, March 5, 2014

phonegap application to call their own way through the js file java


I am using the cordovaWebView, js no problem calling java code, java is a problem when you take the initiative to call the js method,
 cordovaWebView.sendJavascript ("java_call ()"); 
only be called in cordova-2.4.0.js way inside, and I want to call your own js files (assets \ Scripts \ logic.js) inside the method, seeking guidance<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Has been resolved, directly to their html js wrote on it, as to why the call in a separate js file is less than, I do not know
Reply:
I also want to know how to call the java side js is doing something similar, seeking to share .... LZ

No comments:

Post a Comment