我如何替换InAppBrowser的ChildBrowser在PhoneGap 2.3.0使用Xcode? [英] How do I substitute InAppBrowser for ChildBrowser in PhoneGap 2.3.0 using Xcode?

查看:152
本文介绍了我如何替换InAppBrowser的ChildBrowser在PhoneGap 2.3.0使用Xcode?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注此adobe教程 a>关于使用database.com设置远程数据库连接。他使用ChildBrowser,我无法得到我的版本的PG。所以我更新PG到2.3.0,我发现有这个新的酷的东西,InAppBrowser。 IAB的基本例子我可以得到工作很好,但我没有能够弄清楚如何使用它在上面的教程。任何帮助是赞赏。我的Git回购者是这里。谢谢阅读! Mike

I am following this adobe tutorial about setting up a remote db connection using database.com. He uses ChildBrowser which I couldn't get working on my version of PG. So I updated PG to 2.3.0 and I find there's this new cool thing, the InAppBrowser. The basic examples of IAB I can get working just fine, but I haven't been able to figure out how to use it in the above tutorial. Any help is appreciated. My Git Repo is here. Thanks for reading! Mike

推荐答案

所以,我意识到我的问题有点宽泛。在这一点cordova 2.3.0和InAppBrowser是一个有点太新了有很多的文档,所以基本上我做的是使用一个旧版本的cordova为了让教程匹配我的过程。

So, I realize my question is a little broad. At this point cordova 2.3.0 and InAppBrowser are a little too new for there to be a lot of documentation out there so basically what I did was use an older version of cordova in order to have the tutorial match my process.

上面链接的教程是Andrew Trice的,他们回复了我,他们打算使用IAB编写教程的更新。据我所知,他使用的Cordova版本是1.7.0。我一直在使用1.4.1以前在另一台机器上,所以1.7.0的dmg文件可以直接从finder安装,这两个版本似乎是xcode中的自治。我正在创建一个全新的项目,所以我能够忽略有点冗长的cordova升级说明。所有源文件从教程git repo复制。并且使用此处的说明安装了childbrowser: Ryan Stewart ChildBrower 。我发现这套说明是我找到的最好的。唯一的更改是您需要的外部主机是* .database.com和* .salesforce.com。

The tutorial linked above is Andrew Trice's and they responded to me that they intend to write an update to the tutorial using IAB. The version of Cordova that he is using as far as I can tell is 1.7.0. I had been using 1.4.1 prior on another machine so 1.7.0's dmg file could be installed straight from the finder and the two versions seem to be autonomous within xcode. I was creating a brand new project so I was able to ignore the somewhat lengthy cordova upgrade instructions. All source files were copied over from the tutorial git repo. And the childbrowser was installed using the instructions here: Ryan Stewart ChildBrower . I found this set of instructions to be the best I'd found. The only change is the External Hosts that you need are *.database.com and *.salesforce.com.

希望能帮助其他人在同一个绑定。

Hope that helps others in the same bind.

Mike

编辑:使用iOS浏览器插件,而不是iPhone。并在数据库表中添加电话字段。

Use the child browser plugin for iOS not iPhone. And add a "Telephone" field to your db table.

这篇关于我如何替换InAppBrowser的ChildBrowser在PhoneGap 2.3.0使用Xcode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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