PhoneGap的速度VS原生的iOS 4/5和Android的GPS /位置服务/地图速度、位置、地图、VS

由网友(有生之年)分享简介:是什么性能折衷使用的PhoneGap用于开发,它使用用户的地图和全球定位系统在几乎整个应用的应用的?该应用程序需要弄清楚什么是附近的,拿起上岗的地点,并嵌入映射到屏幕上。 What is the performance trade off of using PhoneGap for developing an app...

是什么性能折衷使用的PhoneGap用于开发,它使用用户的地图和全球定位系统在几乎整个应用的应用的?该应用程序需要弄清楚什么是附近的,拿起上岗的地点,并嵌入映射到屏幕上。

What is the performance trade off of using PhoneGap for developing an application that uses the users maps and gps throughout almost the entire application? The app needs to figure out what is nearby, pick up locations for posts, and embed maps into screens.

也许无关,但应用程序还需要使用手机的摄像头的一个重要特征。

Probably unrelated, but the app will also need to use the phone's camera as a key feature.

思考?

推荐答案

的PhoneGap 使用相同的本机API ,它只是抽象它们,这样你可以写在你的应用程序 HTML 的JavaScript

Phonegap uses the same native APIs, it just abstracts them so that you can write your application in html and javascript.

的PhoneGap的插件文件规定,所有的繁重,因为 Javascript的应在本机端做的还是相当慢一点,同时运行在本地浏览器。

PhoneGap’s plugins documentation states that all "heavy lifting" should be done on the native side since Javascript is still quite a bit slower while running in the native browser.

这是安全的假设PhoneGap的解决方案将需要更长的时间鉴于 Javascript的必须触发本机的功能,等待回调,然后生成列表 HTML

It’s safe to assume that the PhoneGap solution is going to take longer given that the Javascript must trigger the native function, wait for the callback, and then build the list in html.

我对你一些有用的链接。

I have some useful links for you..

mobile-framework-comparision

的PhoneGap VS原生的Andr​​oid和iPhone应用程序的性能和功能

PhoneGap插件与Android中原生解决方案

Phonegap应用程序的性能VS本机应用程序的性能

Using PhoneGap的对本地应用开发

阅读全文

相关推荐

最新文章