benjymous/MWM-for-Android — pull request #18 by firetech (2012-05-02 20:15:20+00:00)
Title: Add support for MMS

* SMS widget now also counts MMS messages, and is renamed to "Unread SMS/MMS" (the widget ID is unchanged).
* New MMS messages trigger notifications, toggled by the same setting as SMS notifications (also renamed). Since I haven't got an analog watch, I haven't been able to test the OLED notification, but I did the best I could trying to implement it.

For parsing MMS PDU's, some code was borrowed from AndroidNotifier (http://code.google.com/p/android-notifier, most of it in turn borrowed from AOSP). This code is only needed to get the phone number from the PDU's and to confirm that the PDU is an MMS. It should be possible to create MMS notifications without it, but they would be a bit useless (and perhaps triggered erroneously some times).