android - 想用PhoneGap来把web页面做成安卓应用,那么PhoneGap比系统自带的webview有什么优势?
ringa_lee
ringa_lee 2017-04-17 11:47:18
0
5
429

想用PhoneGap来把web页面做成安卓应用,那么PhoneGap比系统自带的webview有什么优势?
对于移动开发,新手,大家多多指教。

ringa_lee
ringa_lee

ringa_lee

reply all(5)
伊谢尔伦

The WebView (CordovaWebView) in PhoneGAP is actually an extension of the WebView that comes with Android, encapsulating and rewriting some functions.

For detailed code, please read CordovaWebView.java

For example, loading local pages is of course the key modification.
If there is any improvement in performance, I feel that there is no improvement other than ease of use.

迷茫

The answers from the people above are wrong. They are asking about the difference between phonegap’s webview and ordinary webview, not about the difference between hybrid APP and native APP.

First of all, let’s talk nonsense: I have never experienced debugging hybrid APP in ordinary webview. It is your happiness, really. There are too many pitfalls in hybrid, but iOS is okay, especially Android, which is full of blood and tears.

The difference between phonegap and ordinary webview is that it has fixed many webview bugs and made up for many poor performance. It will feel closer to the web during development. Moreover, it implements many APIs according to standards and is relatively convenient to use, and is good for development, debugging and transplantation.

洪涛

Advantages:
If you are familiar with web front-end, phonegap will be faster to get started with. As VS2013, netbeans, etc. successively support cordova, this development process is becoming simpler and simpler. There are also cross-platform front-end frameworks such as jquery mobile, appframework, sencha touch, etc. that can also simplify the page development process.

Disadvantages:
Efficiency is a big problem. Slowness can be alleviated, but it cannot be solved. The effect on low-end Android phones is very unsatisfactory.

阿神

It is said that the performance is not good, but I have never actually done it. The author can give feedback after finishing it~~

Ty80

The performance is not good, unless it is a very simple news blog display, like ONE, which has one article per day, this is more suitable.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template