How to check what sms was sent by me in conversation?

75 views Asked by At

I made query to content://sms/ to get all sms entries. I can group them by thread_id for displaying as conversation. But how can i check what sms was sent by me? cause i cant get any useful info from address or person columns

1

There are 1 answers

0
JHH On BEST ANSWER

Each message has a type column. Check this against MESSAGE_TYPE_SENT and MESSAGE_TYPE_OUTBOX defined in http://developer.android.com/reference/android/provider/Telephony.TextBasedSmsColumns.html