How to generate an Intent that jumps into a specific short message conversation?

Posted by Janusz on Stack Overflow See other posts from Stack Overflow or by Janusz
Published on 2010-12-29T18:20:02Z Indexed on 2010/12/29 18:54 UTC
Read the original article Hit count: 141

Filed under:
|
|

I would like to create an Intent that opens the messages application in a specific conversation.

If a short message notification is clicked Logcat reveals the following:

INFO/ActivityManager(31909): Starting activity: Intent { act=android.intent.action.VIEW dat=content://mms-sms/conversations/3 flg=0x34000000 cmp=com.android.mms/.ui.ConversationList bnds=[0,586][600,682] }

This brought me a little bit further using content://mms-sms/conversations/3 as the data starts up the messages app in the correct conversation. I now only need to find out which conversation a message belongs to.

© Stack Overflow or respective owner

Related posts about android

Related posts about sms