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. 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应用程序,我遇到了一些与androidgap相比在Android本机代码中很容易实现的东西。所以我想知道有没有什么方法可以通过不改变我的phonegap跨平台来使用android代码?
1 个解决方案
#1
7
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
#1
7
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