Using Cordova PhoneGap... how to set layout for landscape and Portrait view
<p>here is my code below... is there a way to do a screen orientation and choose to loadUrl index.html for portrait and then maybe land/index.html for landscape. </p>

<pre><code>import org.apache.cordova.*;

 public class MainScreen extends DroidGap {

   //Called when the activity is first created. 
   @Override

public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    super.loadUrl("file:///android_asset/www/index.html");

    WebSettings ws = super.appView.getSettings();
    ws.setSupportZoom(true);
    ws.setBuiltInZoomControls(true);
}
}
</code></pre>
