title: How do you retrieve the screen size of a device using PhoneGap?
body: <p>I'd like to retrieve the exact size of a device screen with my PhoneGap application.  I'm using Googles chart API to retrieve some graphs and I'd like to retrieve larger graphs for tablets and smaller graphs for phones.  Also, I'd like to fit them in the screen whether the device is portrait or landscape.</p>
  
  <p>To use the Google Chart API, I need to send the dimensions of the resulting graph in pixels, so I'll need the device dimensions.</p>
  
  <p>How do I collect this information with phonegap?</p>
  
  <p>thanks!</p>