我使用的PhoneGap开发Android应用程序,我碰到一些事情是很容易在比较中的PhoneGap Android原生code来实现。所以我想知道有没有什么办法中,我可以通过不改变我的PhoneGap的跨平台使用的Android code的?
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?
类似的问题:How我可以通过JavaScript调用PhoneGap的本机函数?
您可以编写PhoneGap的插件
You can write phonegap plugin
http://docs.phonegap.com/en/2.0.0/guide_plugin-development_index.md.html