MMS Message Action Demo

by Fran T

Version 5 (October 27, 2025)

Download (139 downloads)

Demonstrates waiting for new MMS messages to be sent or received and getting their text. The flow will also indicate whether the message contains a photo or video. Additional message content information is available by enabling logging for the flow.

The flow forks a message handler fiber so that messages sent or received in quick succession will be handled correctly.

Note that many content changes posted to descendants of content://mms refer to the same message. Content from the content://mms/sent source is a duplicate of content://mms, but /mms must be monitored because not all sent MMS messages post content to the /mms/sent path. Furthermore, some messages only cause a content event on /mms/part, and not /mms. Also note that content posted to /inbox can be duplicated. A short delay is required before getting the message content to ensure that the database has been updated first. Finally, to deduplicate events and also to avoid interference from text backup apps, the flow ignores MMS content updates for message IDs from the past.

Updates:
• Now watches for both incoming and outgoing messages, handles delayed and out of order updates, and logs the sender and recipient contact names
• Improvements for RCS message clients