简体   繁体   English

在PhoneGap上通过Web应用程序运行本机应用程序

[英]Run a native app with a web app on PhoneGap

my question is: Is posible to run a native app using a web app developed on phonegap?, I need to make that, I was reading about is necessary create a plugin to connect with other native app, but I'm starting to programming over phonegap I still don't understand much, and need to create that. 我的问题是:是否可以使用在phonegap上开发的Web应用程序运行本机应用程序?我需要这样做,我当时在读有关创建与其他本机应用程序连接的插件的必要性,但是我开始通过phonegap我还是不太了解,需要创建它。 But I need some very explicit. 但是我需要一些非常明确的内容。

Thanks. 谢谢。

Yes, you can create a PhoneGap native plugin that will enable you to create custom functionality in native code, and expose that to your PhoneGap applications via PhoneGap's native-to-JavaScript bridge. 是的,您可以创建一个PhoneGap本机插件,使您可以使用本机代码创建自定义功能,然后通过PhoneGap的本机到JavaScript桥将其公开给PhoneGap应用程序。 For more information about plugins and example of how to implement them check this tutorial: 有关插件的更多信息以及如何实现的示例,请查看本教程:

http://www.adobe.com/devnet/html5/articles/extending-phonegap-with-native-plugins-for-android.html http://www.adobe.com/devnet/html5/articles/extending-phonegap-with-native-plugins-for-android.html

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

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