05-09-2013 11:52 AM
My webworks app looks good in my pc but when i deploy it to the device, the size is reduced. But if i double tao on the screen the size enlarges but the review team is not accepting the application. Please help me out with this issue.
Solved! Go to Solution.
05-09-2013 04:43 PM
This probably has something to do with the screens pixel density, I always place this in the head of ALL the html files I use for webworks:
<head> <script> var meta = document.createElement("meta"); meta.setAttribute('name','viewport'); meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no'); document.getElementsByTagName('head').appendChi
ld(meta); </script> </head>
This fixed similar problems for me in the past.
05-09-2013 04:45 PM
Here's a more complete KB articleon the subject: http://supportforums.blackberry.com/t5/Web-and-Web
It gives a better explanation of the problem and the solution, but essentially it is the same.