Search code examples
androidsmsmmsself-extracting

Can I launch an Android app from incoming SMS/MMS messages?


I would like to know if I can launch a program via incoming MMS/SMS? More on the MMS side of things.

Workflow:

  • MMS sent to Android device
  • self executable MMS

Any thoughts?


Solution

  • Yes. You can create a BroadcastReceiver to listen for the android.provider.Telephony.SMS_RECEIVED intent. In the receiver you can launch another activity to show the message or whatever. There is an example in the sdk and you can also check out source to SmsPopup.