科尔多瓦的PhoneGap的限制科尔、多瓦、PhoneGap

2023-09-06 04:01:49 作者:是柠檬就不必羡慕蜜桃的甜

我目前正在使用科尔多瓦PhoneGap的应用程序。

I am currently working on an application using Cordova PhoneGap.

我现在担心我的应用程序在未来的可扩展性。什么是PhoneGap的的iOS和Android项目的限制?

I am now concerned about the expandability of my app in the future. What are the limitations of PhoneGap for iOS and Android projects?

我没有看到这样的名单: http://phonegap.com/about/feature ,所有的硬件​​/物理功能,但对于code为主的功能呢?

I did see this list: http://phonegap.com/about/feature , about all the hardware/physical functions, but what about the code based functions?

有什么我可以在HTML编写/ CSS / Javascript代码的PhoneGap将无法处理?

和一般

是否有显著的iOS / Android的特点是出了名的PhoneGap无法实现?

此外,作为一种副作用小的问题,的PhoneGap可以处理音频输入/输出的iOS或Android?(该项目的一个重要特征)

In addition, as a little side question, can PhoneGap handle Audio Input/Output for iOS or Android? (an important feature for the project)

推荐答案

至于你的问题,PhoneGap的应该能够处理的第一部分,所有的HTML / CSS / JS

As for the first part of your question, Phonegap should be able to handle all HTML/CSS/JS

http://stackoverflow.com/a/11422251/1618363

PhoneGap的你的应用程序中嵌入的WebView实现平台的兼容性。因此,你可以在HTML,CSS,JavaScript的运用的知识,并另外提供的方式与原生交互功能(如摄像头,GPS,...)。

PhoneGap achieves platform compatibility by embedding a webview within your application. Therefore you can apply your knowledge in HTML, CSS, JavaScript and it additionally provides ways to interact with native features (e.g. camera, gps, ...).

使用PhoneGap的,你写一个通用的Web应用程序,调整部分特定平台(有时你没有这个的话),并建立它的平台。后者可以与PhoneGap的处理构建服务:这需要你的web应用和捆绑它的移动操作系统在那里

With PhoneGap you write one general web app, tweak parts for the specific platform (sometimes you do not have to this at all) and build it for that platform. The latter can be handled with PhoneGap Build service: It takes your webapp and bundles it for the mobile operating systems out there (Embeds it within a Java app on Android, an Objective-C app on iOs)

PhoneGap的是能够与承载一个PHP脚本,就像所有其他Web应用程序的服务器进行通信。试图动态加载从远程站点的资源可以是一个相当麻烦,但这是另外一个问题。

PhoneGap is able to communicate with a server hosting a PHP script just as every other web application. Trying to dynamically load resources from remote sites can be quite a hassle but this is another question.

第2

在它的功能,并会比写在纯code,其中照到的是,它可以用来跨平台比较慢的PhoneGap被限制。您将能够创建界面,写的形式,并与数据库的工作,但如果你想创建一个游戏或应用程序,需要的特点,超出了一个web应用程序,你会更适合编写原生code应用程序。

Phonegap is limited in it's functionality and would be slower than writing in native code, where it shines is that it can be used cross platform. You would be able to create interfaces and write forms and work with databases but if you want to create a game or an app that requires features that are beyond a web app you will be better suited writing a native code application.

第3部分 - 小方的问题

的PhoneGap(科尔多瓦)可以处理音频为iOS和Android。看一看:http://docs.phonegap.com/en/1.0.0/phonegap_media_media.md.html#Media

Phonegap (Cordova) can handle audio for both iOS and Android. Have a look at : http://docs.phonegap.com/en/1.0.0/phonegap_media_media.md.html#Media

我希望这有助于:)让我知道如何去。我个人觉得本土code好得多程序但这只是一个preference。

I hope this helps :) let me know how it goes. Personally I find native code much better to program in but that's just a preference.