简体   繁体   English

触摸Android的图标

[英]Touch Icon For android

I was checking this blog http://mathiasbynens.be/notes/touch-icons and it worked fine for iPhone , but for Android I get a weird Icon on home screen. 我正在查看此博客http://mathiasbynens.be/notes/touch-icons ,它在iPhone上运行良好,但是在Android上,我在主屏幕上看到一个奇怪的图标。 Snapshot of Page I was viewing and in the bottom left a tiny touch icon that I added in headers. 我正在查看的“页面快照”,并且在底部的底部有一个很小的触摸图标,该图标已添加到标题中。 Why is this so Is it possible to get it like a touch icon in my android device(2.2) as well ? 为什么这样,是否有可能像我的android设备(2.2)中的触摸图标一样获得它?

This favicon compatibility test indicates the following regarding Android: 此网站图标兼容性测试表明以下有关Android的信息:

  • Samsung Galaxy S (Android 2.3.3): the default browser takes the 16x16 PNG icon (so not the Apple Touch icon) and adds some decoration around it. 三星Galaxy S(Android 2.3.3):默认浏览器带有16x16 PNG图标(而不是Apple Touch图标)并在其周围添加装饰。 Although correct, this is not the expected behavior. 尽管正确,但这不是预期的行为。
  • HTC Desire (Android 2.2.2): the default browser takes the 57x57 Apple Touch icon, which is correct. HTC Desire(Android 2.2.2):默认浏览器使用57x57 Apple Touch图标,这是正确的。
  • Nexus 7 (Android 4.4): Nexus 7(Android 4.4):
    • Chrome takes the 152x152 Apple Touch icon, which is correct. Chrome使用152x152 Apple Touch图标,这是正确的。
    • Firefox takes the 196x196 PNG picture, which is a bit surprising but correct, too. Firefox拍摄196x196 PNG图片,这也有点令人惊讶,但也是正确的。

In the end, you might observe some unexpected behaviors on old Android devices. 最后,您可能会在旧的Android设备上观察到一些意外行为。

In order to maximize compatibility and avoid playing with Photoshop&friends, HTML code and devices, you can try this favicon generator . 为了最大化兼容性并避免与Photoshop&friends,HTML代码和设备一起玩,您可以尝试使用此favicon生成器 Some extensive testing has been performed already. 已经进行了一些广泛的测试。 Full disclosure: I am the author of this site. 完全披露:我是本网站的作者。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM