title: Splash screen on Android using Phonegap + Eclipse
body: <p>I'm coding an Android app through Phonegap and I'm at the point of installing the Splashscreen.</p>
  
  <p>I managed to install a landscape splashscreen using <a href="https://stackoverflow.com/questions/8156841/phonegap-splash-screen-for-android-app">this question</a>, but as I expected it doesn't recognize it as a landscape or portrait splashscreen, so it just displays the image, no matter the orientation of the device. How do I tell it should show the wide image when the device is in landscape and the high image when the device is in portrait mode?</p>
  
  <p>I'm using:<br />
  - Eclipse<br />
  - Phonegap 1.5.0</p>
  
  <p><i>Edit: Question updated! See text below.</i>
  Thanks to ghostCoder I got one step closer, but it still doesn't work.</p>
  
  <p>Do I have to add something to the following code to draw the portrait images? (it still displays the landscape, no matter the orientation of the device)</p>
  
  <pre><code>@Override
      public void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);
          super.setIntegerProperty("splashscreen", R.drawable.splash);
          super.loadUrl("file:///android_asset/www/index.html");
      }
  }
  </code></pre>
  
  <p>This is how my folders look now:
  <img src="https://i.stack.imgur.com/mZIbV.png" alt="folders in res folder"></p>