title: How to receive result of an intent on command line?
body: <p>Suppose I invoke an activity using adb
  adb shell am start -a android.intent.action.MAIN -n  -e key1 value1
  Is there a way to receive its result(*) on shell prompt as well?
  [I tried -W but that remains stuck foreve even after Activity is "finish"-ed]</p>
  
  <ul>
  <li><ul>
  <li>At the minimum I am looking for return code of Activity, being able to see some parseable form of returned result intent would be even better.</li>
  </ul></li>
  </ul>