The difference between Web app and native app _android

Source: Internet
Author: User

The company is ready to do a project, is a peer-to-peer allocation of the app. Asked some people on the internet, found that some directly have HTML5 after the good, with software encapsulation. Before I learned about app development, the Android version of the code that was written when I developed the Android app. So here's the question:

What is the difference between a HTML5 package app and a native app?

What's the difference between HTML5 and app?

Why do large web companies tend to promote the original eco-apps?

HTML5 is a cross-platform advantage, but why is it still tepid, or are we still calling it a lightweight app?

Looked up the relevant information, combed a bit, found that there are the following differences:

1.HTML5 app such as Light cannon, the original eco-apps such as regular artillery, HTML5 implementation of limited functionality, only to achieve a number of light interactive scenarios, and the app can be perfectly resolved.

Although the 2.HTML5 can be cross-platform, but the browser has a loading speed, for the user experience said that there is a load of waiting, such as your QQ browser to open Baidu, and direct use of Baidu app is two experience. Browser to open Baidu, but also have a load, and Baidu app is duang out of the input box interface.

3.HTML5 's app has a downside for navigation. The original eco-app, at the bottom of the page, is fixed with a navigation menu. I give screenshots, you can look at the distinction: see my red Line circle and the difference between the blue circle.

  

4.HTML5 app also has its own advantages, such as some app pages want to share, then use HTML5 app. Also such as dropping a taxi integrated in the micro-letter, if the phone does not drop a taxi app, you can directly in the default browser load out, to take a taxi. For the overall operation of the company must not be less.

HTML5 app in the design need to pay attention to some of the points, I also briefly summed up:

1 compatibility test of each mobile browser

2 The bottom service of the transfer (can be transferred, but only when it is the core function to retain eg: Sina, the United States and so on are removed Avatar upload function)

3 attention to off-line data storage, reduce the frequency of data requests.

4 Consider what data to save users: settings, personal data, reading anchor points, jumping out of the page, and so on. "That's usually the navigation menu."

5 Avoid interactive conflict between dynamic effect and browser

6 asynchronous loading in sequence eg: Tencent video

That's all there is to know about Web apps and native apps.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.