0

If I want to use my web site in iphone I write this code. But I dont know how can I do this for android? Can you help me, what is code for android to use in my web site.

<meta name="viewport" content="width=device-width,user-scalable=no" />
<meta name="apple-mobile-web-app-capable"
  content="yes" />
              <script>
function BlockMove(event) {
// Tell Safari not to move the window.
event.preventDefault() ;
}
</script>
Hacer sengul Akac
  • 683
  • 3
  • 17
  • 25

1 Answers1

0

For the home screen Android will use:

<link rel="apple-touch-icon-precomposed" href="/custom_icon.png"/>

As described in Configuring Android Web Applications

Community
  • 1
  • 1
Bas van Dijk
  • 9,933
  • 10
  • 55
  • 91