[英]How to use android native code in phonegap?
I am developing an android application using phonegap and i came across some things which are quite easy to implement in android native code when compare to phonegap. 我正在使用phonegap开发一个Android应用程序,我遇到了一些与androidgap相比在Android本机代码中很容易实现的东西。 So i want to know is there any way in which i can make use of android code by not changing my phonegap cross platform?
所以我想知道有没有什么方法可以通过不改变我的phonegap跨平台来使用android代码?
Similar question: How can I call native functions in Phonegap through Javascript? 类似的问题: 如何通过Javascript调用Phonegap中的本机函数?
You can write phonegap plugin 你可以写phonegap插件
http://docs.phonegap.com/en/2.0.0/guide_plugin-development_index.md.html http://docs.phonegap.com/en/2.0.0/guide_plugin-development_index.md.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.