title: How to get new messages in Android via adb
body: <p>I have an android connected to PC for testing purposes (test automation that involves sms receiving).</p>
  <p>Is it possible to check if new message is available and get its text via adb?</p>
  <p>At this moment I only can start the messages app with this command:</p>
  <p><code>&gt;adb shell monkey -p com.android.mms -c android.intent.category.LAUNCHER 1</code></p>
  <p>I cannot find anything that help me to get the messages without recurring to DB or cellphone rooting.
  Is it possible?</p>
  <p>Thanks.</p>