title: JavaScript+Phonegap+Android: screen.width returns bad (almost random) values
body: <p>After launching app with "deviceready" event, my Phonegap app on Android returns false screen.width (window.innerWidth is the same) values on ZTE Blade (native 800px). I get width values like 320, 533 or 787 px, sometimes different values within one app instance (launch) when asking multiple times...</p>
  
  <p>I have android:screenOrientation="landscape" in my AndroidManifest.xml. Using Phonegap/Cordova 1.8.1 in Eclipse (Indigo).</p>
  
  <p>Some sample values of screen.width:</p>
  
  <p>in index.html</p>
  
  <ul>
  <li>before document.addEventListener+"deviceready": 320</li>
  <li>just after "deviceready": 320</li>
  </ul>
  
  <p>then redirect three times (change window.location to different HTML file) because of 2 splash-screens and finally land to main.html. I include my .js code in every file just for debugging, and get 3 console.logs:</p>
  
  <ol>
  <li>320</li>
  <li>787</li>
  <li>787</li>
  </ol>
  
  <p>Very strange...</p>