title: custom parameter when launching android test from command line
body: <p>I can launch my Android applications Junit/Robotium tests from the command line like this:</p>
  
  <pre><code>adb shell am instrument -w com.myapp.client.test/android.test.InstrumentationTestRunner
  </code></pre>
  
  <p>However, I want to somehow include a custom parameter that allows me specify whether the test is to be run in "Portrait" mode or "landscape" mode.</p>
  
  <p>How can I:</p>
  
  <ol>
  <li><p>specify that custom parameter in the command-line command?</p></li>
  <li><p>How can I access that custom parameter's value in the Java code?</p></li>
  </ol>
  
  <p>Thanks</p>