如何判断一款android应用是主要基于html5还是native控件开发
新浪微薄,点评和街旁都是html(5)吧
回复内容:
反编译,看代码 解压软件直接解压,基于html5的会看到相关html代码。 第一次认真回答问题,好激动~~这个简单:在设置中找到开发人员工具,然后找到显示布局边界,选中,这个时候你会发现屏幕中到处都是框框,这就对了。最后去打开你要判断的app,如果他的页面只有一个大框,那么就是网页,至于什么是只有一个大框,使用浏览器打开一个网页你就知道了。否则会有大框套小框各种框,这就是所谓的native的了。
有时候你把网络断开也可以判断。 买个最便宜的手机,好的不要。 html5和原生各有千秋 ,所以现在app更多采用了混合(hybrid)模式,既有原生的视图,里面又通过内嵌Webview控件能够加载html。从我的经验,可以从这几个方面看:
1.夸平台展示,原生安卓苹果都有自己的元素,界面风格。如果用页面,浏览器兼容性还忙不过来呢,这种风格的问题…甚至多试几个安卓,不同的rom,不同厂商的,相信你会有所发现
2.性能,直接上安卓虚拟机吧,稍花点的网页能慢成翔,再点点按钮看反应
3.网络,使用过程中断网,看看有没有404?
4.没事转转屏幕,写死不支持转屏的就算了
5.看看日志,安卓用webview,可能会有chromium的警告日志发出来,当它认为app加载页面的js不合规时。 html加载时是整个页面进来,native可以做到先出来一部分控件,再出来数据类控件

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
