Differentiate MMS and SMS via MMS/SMS listeners in Android
问题 Is there any ways to differentiate MMS and SMS messages by using a MMS/SMS listener before they hit the inbox ? 回答1: The first indicator of an MMS message is a WAP-push with the MIME-type "application/vnd.wap.mms-message", so you could register a receiver for "android.provider.Telephony.WAP_PUSH_RECEIVED": <receiver android:name=".SomeReceiverName" android:permission="android.permission.BROADCAST_WAP_PUSH"> <intent-filter> <action android:name="android.provider.Telephony.WAP_PUSH_RECEIVED" />