简体   繁体   English

我如何在corodova中运行本机代码

[英]How do I run a native code in corodova

Is it possible that I can embed some native code with cordova ? 我可以在cordova中嵌入一些本机代码吗?

ie In native application I can Intercept some javascript in webview and run native code 即在本机应用程序中,我可以在Webview中拦截一些javascript并运行本机代码

Is it possible in corodova ? 在corodova中可能吗?

As far as I know it's not possible.Is there any plugin ? 据我所知是不可能的,有没有插件? or something like that. 或类似的东西。

Yes it is possible. 对的,这是可能的。

Please refer here http://docs.phonegap.com/tutorials/develop/1-embed-webview/ios/ 请参考此处http://docs.phonegap.com/tutorials/develop/1-embed-webview/ios/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM