是否可以在本机iphone应用程序和PhoneGap应用程序之间进行交互? [英] Is it possible to interacte between native iphone app and PhoneGap app?

查看:122
本文介绍了是否可以在本机iphone应用程序和PhoneGap应用程序之间进行交互?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用PhoneGap框架开发一个iPhone应用程序。这里我必须将第三方本地库集成到我的应用程序中。

I am developing an iPhone application using the PhoneGap Framework. Here I have to integrate a third party native library into my application. Can you please guide me as to whether it is possible, and if so how can i proceed?

感谢提前,
Sri

Thanks in Advance, Sri

推荐答案

我不知道你想要整合的第三方库,但一般来说这是绝对可能的。

I don't know what third party library you are trying to integrate with, but in general it's absolutely possible.

你需要的是一个插件来连接两者。以下是有关创建插件的PhoneGap文档:

What you will need is a plugin to connect the two. Here is the PhoneGap docs on creating plugins:

http://wiki.phonegap.com/w/page/36752779/PhoneGap%20Plugins

如果您需要一些已经写入的插件示例,请使用看看GitHub上的手机gap-plugin回购:

If you need some examples of plugins already written, have a look at the phone gap-plugin repo on GitHub:

https:// github.com/phonegap/phonegap-plugins

Hiedi Utley也有一些有关写插件的实用教程:

Hiedi Utley also has some helpful tutorials around writing plugins:

http://hiediutley.com/

希望有帮助。 ..

这篇关于是否可以在本机iphone应用程序和PhoneGap应用程序之间进行交互?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆