3

In iPhone, there are php scripts that control the initial scale and max scale of website viewing that are like these:-

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=3.0;">

Would there be similar functions that work for android? Thanksalot.

Yes Barry
  • 9,514
  • 5
  • 50
  • 69
Ham
  • 804
  • 3
  • 15
  • 25
  • 1
    That's not a PHP script, PHP does not run natively on either platform (not without rooting it). – chx Nov 14 '11 at 01:20

1 Answers1

1

It appears the answer to your question already exists. here

"You're missing the secret new Android-only viewport property 'target-densityDpi' which you can use to configure browser scaling. See the linked question for more details."

Community
  • 1
  • 1
Yes Barry
  • 9,514
  • 5
  • 50
  • 69
  • if I apply , would that be better? and would it be other secrets that can control the min and max scale? Thanks. – Ham Nov 14 '11 at 01:39
  • Apparently. Give it a try! This solution received many upvotes so I would imagine it's trustworthy. Please try it and let me know if it works because I'm gonna use it too then. – Yes Barry Nov 14 '11 at 01:41