Phonegap facebook、html5 视频、iAds 问题
我正在尝试通过 phonegap build API 构建 android+iOS 应用程序。我发现这个 API 有一些限制,但我想确保...
1) 可以将Facebook 功能实现到phonegap 应用程序只能通过phonegap插件,无法通过构建API添加。
2) iAds 也不支持。我找到了一些可以处理此问题的插件,但与第一点一样,无法通过phonegap build API 添加插件。
3) 如果设备操作系统未安装所需的编解码器,则无法使用 HTML5 视频标签播放视频。并且没有其他方法可以确保某种类型的视频可以在大多数 Android/iOS 设备上播放。
...所以当我想通过phonegap API 构建应用程序时,我必须忘记使用facebook、iAds 和视频(在所有设备上)?
谢谢。
I'm trying to build android+iOS application via phonegap build API. I found that that this api has some limitations, but I want to make sure...
1) Implementation Facebook features to phonegap application is possible only by phonegap plugin, which is not able to add via build API.
2) iAds aren't also supported. I found some plugin which can handle this, but as in first point, it is not possible to add plugins via phonegap build API.
3) Playing video using HTML5 video tag doesn't work if operation system of device doesn't have installed needed codecs. And there is no other way how to be sure that some type of video will be playable on most androis/iOS devices.
...so when I want to build applications via phonegap API, I have to forget to use facebook, iAds and video(on all devices) ?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于你的第一个问题:在 facebook 的情况下,存在一些 facebook 插件,你可能想看看这里:
http://www.mosacrea.com/how-to-post-to-the-facebook-wall-in-an-iphone-app-with-phonegap-facebook-connect-and-childbrother-plugin/ 它使用 ChildBrowser 插件..
或此处:
希望它有所帮助......
For your first question: in the case of facebook some facebook plugins exist, you may want to look here:
http://www.mosacrea.com/how-to-post-to-the-facebook-wall-in-an-iphone-app-with-phonegap-facebook-connect-and-childbrother-plugin/ it uses the ChildBrowser plugin..
or here:
http://eisabainyo.net/weblog/2011/06/25/how-to-post-on-facebook-wall-on-iphone-and-android-using-phonegap-plugins/ same thing but with a slightly different approach.
hope it helps...