壮心未与年俱老,死去犹能作鬼雄。这篇文章主要讲述Web App Manifest相关的知识,希望能为你提供帮助。
【Web App
Manifest】
The web app manifest provides information about an application (such as name, author, icon, and description) in a JSON text file. The purpose of the manifest is to install web applications
to the homescreen of a device, providing users with quicker access and a richer experience.
Web app manifests are part of a collection of web technologies called
progressive web apps, which are web applications that can be installed to the homescreen of a device without needing the user
to go through an app store, along with other capabilities
such as
being available offline and receiving
push notifications.
Web app manifests are deployed in your html pages using a link tag in the head
of your document:
< link rel="manifest" href="https://www.songbingjia.com/manifest.json">
"display": "standalone"
Display Mode | Description | Fallback Display Mode |
---|---|---|
fullscreen |
All of the available display area is used and no user agent chrome is shown. | standalone |
standalone |
The application will look and feel like a standalone application. This can include the application having a different window, its own icon in the application launcher, etc. In this mode, the user agent will exclude UI elements for controlling navigation, but can include other UI elements such as a status bar. | minimal-ui |
minimal-ui |
The application will look and feel like a standalone application, but will have a minimal set of UI elements for controlling navigation. The elements will vary by browser. | browser |
browser |
The application opens in a conventional browser tab or new window, depending on the browser and platform. This is the default. | (None) |
推荐阅读
- Android搞事篇——使用Intent跳转界面
- Android数据保存之文件保存
- cocos2d-x 3.0rc开发指南(Windows下Android环境搭建)
- Android内存优化DVM和ART原理初探
- Android开发(怎样把Android studio中的Library公布到Jcenter)
- Eclipse搭建服务器,实现与Android的简单通信
- Android recovery UI实现分析
- 关于Android制作.9.png图片
- 微处理器与微控制器