Android SMS history
<p>We currently have an application that sends out SMS to users, it acts like a SMS gateway sitting on an Android phone.</p>

<p>I have come across a lot of questions on how to reads SMS, SMS threads etc, i was wondering if it is possible to figure out which thread and incoming SMS belongs to.</p>

<p>We are looking at automating where we send an SMS to user with an ORDER ID, when user replies back we would like to figure out which thread the SMS belongs to and try to extract the ORDER ID from that SMS that initiated the conversation. </p>
