Android / windows手机启动画面添加/固定网页以启动栏

时间:2015-06-17 07:51:41

标签: android html ios windows-phone splash-screen

我添加了一个网页来启动屏幕,现在我正在尝试为Android和Windows手机设备添加启动画面。对于iPhone,我找到了代码,它的工作原理:

<!-- iOS 8 iPhone 6 Plus (portrait) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-1242x2148.png" media="(device-width: 414px) and (device-height: 736px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)" />
		<!-- iOS 8 iPhone 6 Plus (landscape) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-1182x2208.png" media="(device-width: 414px) and (device-height: 736px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)" />
		<!-- iOS 8 iPhone 6 (portrait) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-750x1294.png" media="(device-width: 375px) and (device-height: 667px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" />
		<!-- iOS 8 iPhone 6 (landscape) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-710x1334.png" media="(device-width: 375px) and (device-height: 667px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" />
		<!-- iOS 6 & 7 iPad (retina, portrait) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-1536x2008.png" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" />
		<!-- iOS 6 & 7 iPad (retina, landscape) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-1496x2048.png" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" />
		<!-- iOS 6 iPad (portrait) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-768x1004.png" media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)" />
		<!-- iOS 6 iPad (landscape) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-748x1024.png" media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)" />
		<!-- iOS 6 & 7 iPhone 5 -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-1136x620.png" media="(device-width: 320px) and (device-height: 568px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" />
		<!-- iOS 6 & 7 iPhone 5 -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-640x1096.png" media="(device-width: 320px) and (device-height: 568px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" />
		<!-- iOS 6 & 7 iPhone (retina, landscape) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-960x600.png" media="(device-width: 320px) and (device-height: 480px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)" />
		<!-- iOS 6 & 7 iPhone (retina, portrait) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-640x920.png" media="(device-width: 320px) and (device-height: 480px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)" />
		<!-- iOS 6 iPhone (landscape) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-480x300.png" media="(device-width: 320px) and (device-height: 480px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)" />
		<!-- iOS 6 iPhone (portrait) -->
		<link rel="apple-touch-startup-image" href="/new-meta/apple-touch-startup-image-320x460.png" media="(device-width: 320px) and (device-height: 480px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)" />

如何为添加/固定启动网页添加启动画面?有谁知道,我搜索了关于android的谷歌开发文档,并没有找到一个东西:(

由于 问候 米哈伊

1 个答案:

答案 0 :(得分:-2)

据我所知,Android和WindowsPhone目前还不像iOS那样支持整个网络应用模式,自定义启动图标,启动画面和应用程序全屏运行。从我所见过的,你必须做一个原生的app包装才能得到它,这是一种耻辱。

如果有人会证明我错了,我会喜欢它。 :d